Practical Tools

1๏ธโƒฃ Practical Tools ๐Ÿ“œNetcat tcp , udp protocol ์‚ฌ์šฉ Connecting tcp/udp port nc -nv 10.11.0.22 4444 Listening on a TCP/UDP Port nc -nlvp 4444 Transferring Files w/ Netcat nc -nlvp 4444 > incoming.exe nc -nv 10.11.0.22 4444 < /usr/share/windows-resources/binaries/wget.exe ๐Ÿ“œSocat Connecting socat - TCP4:<remote serverโ€™s ip address>:80 Listening sudo socat TCP4-LISTEN:443 STDOUT File Transfers sudo socat TCP4-LISTEN:443,fork file:secret_passwords.txt ๐Ÿ“œPowershell and powercat ๐Ÿ“œWireshark ๐Ÿ“œTcpdump

September 20, 2023 ยท CrackerNote

linux ํ•„์ˆ˜ command

1๏ธโƒฃ linux ํ•„์ˆ˜ Command ๐Ÿ“œMan Pages man ๐Ÿ“œapropos apropos ๐Ÿ“œListing Files ls -al ๐Ÿ“œMoving Around cd pwd ๐Ÿ“œCreating Directories mkdir mkdir module one cd module\ one/ mkdir -p ๐Ÿ“œFinding Files echo which locate find ๐Ÿ“œManaging Kali Linux Services systemctl SSH Service sudo systemctl start ssh (ssh ์‹œ์ž‘) sudo ss -antlp | grep sshd (ssh ๊ตฌ๋™ ํ™•์ธ) sudo systemctl enable ssh (๋ถ€ํŒ…์‹œ ssh ์‹คํ–‰) HTTP service sudo systemctl start apache2 sudo ss -antlp | grep apache...

August 20, 2023 ยท CrackerNote

Active Directory Cheatsheet

1๏ธโƒฃ Active Directory Cheatsheet Perform user hunting to track down where users are logged into in the network - find users that are members of high-value groups. Dump credentials and/or obtain Kerberos tickets. Gain access to the userโ€™s machine using creds/ticket. (Possibly) escalate privileges in the machine. Repeat steps above until you have administrative privileges in the Domain Controller. ๐Ÿ“œAD Enumeration - Users / Groups / Computers ์ƒ์œ„ ๊ถŒํ•œ์„ ๊ฐ€์ง„ user ์ฐพ๊ธฐ ๋ฉ”์„œ๋“œ ์„ค๋ช… onCreate() ์•กํ‹ฐ๋น„ํ‹ฐ ์ƒ์„ฑ ์‹œ ํ˜ธ์ถœ, ํ™”๋ฉด์— ๋ณด์ด๋Š” ๋ทฐ์˜ ์ผ๋ฐ˜์ ์ธ ์ƒํƒœ๋ฅผ ์„ค์ • onStart() ์•กํ‹ฐ๋น„ํ‹ฐ๊ฐ€ ์‚ฌ์šฉ์ž์—๊ฒŒ ํ‘œ์‹œ๋˜๊ธฐ ์ง์ „์— ํ˜ธ์ถœ onResume() ์•กํ‹ฐ๋น„ํ‹ฐ๊ฐ€ ์‚ฌ์šฉ์ž์™€ ์ƒํ˜ธ์ž‘์šฉ ํ•˜๊ธฐ ์ „์— ํ˜ธ์ถœ onPause() ์‹œ์Šคํ…œ์ด ๋‹ค๋ฅธ ์•กํ‹ฐ๋น„ํ‹ฐ๋ฅผ ์žฌ๊ฐœํ•˜์ง€ ์ง์ „์— ํ˜ธ์ถœ onStop() ์•กํ‹ฐ๋น„ํ‹ฐ๊ฐ€ ๋”์ด์ƒ ์‚ฌ์šฉ์ž์—๊ฒŒ ํ‘œ์‹œ๋˜์ง€ ์•Š์„ ๋•Œ ํ˜ธ์ถœ onDestroy() ์•กํ‹ฐ๋น„ํ‹ฐ ์†Œ๋ฉธ ์ „์— ํ˜ธ์ถœ(๋งˆ์ง€๋ง‰ ํ˜ธ์ถœ) ๐Ÿ“œ**์•กํ‹ฐ๋น„ํ‹ฐ Flow !...

March 14, 2023 ยท CrackerNote