Labs / Security Scripting
Road 26 of 33
Security Scripting
Writing and reading the tool by hand when the box gives you none: statically triage a shell script planted in cron before it runs, deobfuscate a web skimmer and watch it beacon a stolen card, and build a SYN port scanner with scapy on an audit box with no nmap.
Start this roadSecurity scripting: triage, deobfuscation and scanning by hand
Read a planted script, deobfuscate a skimmer, build a scanner with scapy.
- 01 Bash triage: read the script before it reads you Read a shell script planted in a customer's cron, decode the part it hides, and judge it without running it.
- 02 JavaScript triage: read the script the checkout page didn't ask for Read a skimmer planted on a checkout page, decode where it sends what it steals, and watch a browser leak a cookie.
- 03 Scanning by hand: write a port scanner with scapy With Python and scapy but no nmap, build the scan yourself: one SYN tells open from closed, and a loop maps the ports.