boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

Scan the Server 1

root@attackdefense:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
31278: eth0@if31279: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:0a:01:00:07 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.1.0.7/16 brd 10.1.255.255 scope global eth0
       valid_lft forever preferred_lft forever
31281: eth1@if31282: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:c0:ef:ab:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 192.239.171.2/24 brd 192.239.171.255 scope global eth1
       valid_lft forever preferred_lft forever
root@attackdefense:~# nmap -T4 -p- -A 192.239.171.3
Starting Nmap 7.70 ( https://nmap.org ) at 2023-08-19 04:19 UTC
Verbosity Increased to 1.
Completed Service scan at 04:19, 11.01s elapsed (3 services on 1 host)
Initiating OS detection (try #1) against target-1 (192.239.171.3)
Retrying OS detection (try #2) against target-1 (192.239.171.3)
Retrying OS detection (try #3) against target-1 (192.239.171.3)
Retrying OS detection (try #4) against target-1 (192.239.171.3)
Retrying OS detection (try #5) against target-1 (192.239.171.3)
NSE: Script scanning 192.239.171.3.
Initiating NSE at 04:19
Completed NSE at 04:20, 3.60s elapsed
Initiating NSE at 04:20
Completed NSE at 04:20, 0.00s elapsed
Nmap scan report for target-1 (192.239.171.3)
Host is up (0.000042s latency).
Not shown: 65532 closed ports
PORT      STATE SERVICE   VERSION
6421/tcp  open  mongodb   MongoDB 2.6.10 2.6.10
| mongodb-databases: 
|   totalSize = 83886080.0
|   databases
|     1
|       empty = true
|       sizeOnDisk = 1.0
|       name = admin
|     0
|       empty = false
|       sizeOnDisk = 83886080.0
|       name = local
|_  ok = 1.0
| mongodb-info: 
|   MongoDB Build info
|     OpenSSLVersion = OpenSSL 1.0.2g  1 Mar 2016
|     sysInfo = Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58
|     gitVersion = nogitversion
|     loaderFlags = -fPIC -pthread -Wl,-z,now -rdynamic
|     javascriptEngine = V8
|     version = 2.6.10
|     allocator = tcmalloc
|     bits = 64
|     debug = false
|     compilerFlags = -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unused-function -Wno-unused-variable -Wno-maybe-uninitialized -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -fno-builtin-memcmp
|     maxBsonObjectSize = 16777216
|     versionArray
|       3 = 0
|       2 = 10
|       1 = 6
|       0 = 2
|     ok = 1.0
|   Server status
|     cursors
|       clientCursors_size = 0
|       totalOpen = 0
|       timedOut = 0
|       pinned = 0
|       totalNoTimeout = 0
|       note = deprecated, use server status metrics
|     extra_info
|       page_faults = 2
|       heap_usage_bytes = 62659408
|       note = fields vary by platform
|     asserts
|       rollovers = 0
|       msg = 0
|       regular = 0
|       warning = 0
|       user = 0
|     recordStats
|       accessesNotInMemory = 0
|       local
|         accessesNotInMemory = 0
|         pageFaultExceptionsThrown = 0
|       pageFaultExceptionsThrown = 0
|       admin
|         accessesNotInMemory = 0
|         pageFaultExceptionsThrown = 0
|     localTime = 1692418797488
|     uptimeEstimate = 743.0
|     indexCounters
|       misses = 0
|       resets = 0
|       hits = 2
|       accesses = 2
|       missRatio = 0.0
|     uptime = 751.0
|     process = mongod
|     backgroundFlushing
|       total_ms = 3
|       last_finished = 1692418766744
|       average_ms = 0.25
|       flushes = 12
|       last_ms = 0
|     opcountersRepl
|       update = 0
|       query = 0
|       delete = 0
|       insert = 0
|       command = 0
|       getmore = 0
|     opcounters
|       update = 0
|       query = 25
|       delete = 0
|       insert = 1
|       command = 4
|       getmore = 0
|     dur
|       writeToDataFilesMB = 0.0
|       commitsInWriteLock = 0
|       compression = 0.0
|       commits = 30
|       earlyCommits = 0
|       timeMs
|         dt = 3070
|         writeToJournal = 0
|         writeToDataFiles = 0
|         remapPrivateView = 0
|         prepLogBuffer = 0
|       journaledMB = 0.0
|     ok = 1.0
|     metrics
|       operation
|         fastmod = 0
|         idhack = 0
|         scanAndOrder = 0
|       record
|         moves = 0
|       getLastError
|         wtime
|           num = 0
|           totalMillis = 0
|         wtimeouts = 0
|       repl
|         buffer
|           count = 0
|           maxSizeBytes = 268435456
|           sizeBytes = 0
|         preload
|           docs
|             num = 0
|             totalMillis = 0
|           indexes
|             num = 0
|             totalMillis = 0
|         network
|           bytes = 0
|           readersCreated = 0
|           ops = 0
|           getmores
|             num = 0
|             totalMillis = 0
|         apply
|           batches
|             num = 0
|             totalMillis = 0
|           ops = 0
|       ttl
|         passes = 12
|         deletedDocuments = 0
|       document
|         inserted = 1
|         updated = 0
|         deleted = 0
|         returned = 0
|       cursor
|         open
|           total = 0
|           pinned = 0
|           noTimeout = 0
|         timedOut = 0
|       storage
|         freelist
|           search
|             scanned = 11
|             requests = 6
|             bucketExhausted = 0
|       queryExecutor
|         scannedObjects = 0
|         scanned = 0
|     pid = 26
|     mem
|       mapped = 80
|       resident = 44
|       virtual = 382
|       supported = true
|       mappedWithJournal = 160
|       bits = 64
|     host = victim-1:6421
|     locks
|       .
|         timeLockedMicros
|           W = 27435
|           R = 7912
|         timeAcquiringMicros
|           W = 939
|           R = 3996
|       admin
|         timeLockedMicros
|           w = 0
|           r = 646
|         timeAcquiringMicros
|           w = 0
|           r = 26
|       local
|         timeLockedMicros
|           w = 0
|           r = 3534
|         timeAcquiringMicros
|           w = 0
|           r = 941
|     network
|       bytesOut = 2999
|       bytesIn = 65
|       numRequests = 1
|     writeBacksQueued = false
|     connections
|       current = 2
|       totalCreated = 5
|       available = 838858
|     uptimeMillis = 750762
|     globalLock
|       totalTime = 750762000
|       currentQueue
|         total = 0
|         writers = 0
|         readers = 0
|       lockTime = 27435
|       activeClients
|         total = 0
|         writers = 0
|         readers = 0
|_    version = 2.6.10
41288/tcp open  memcached Memcached
55413/tcp open  ftp       vsftpd 3.0.3
MAC Address: 02:42:C0:EF:AB:03 (Unknown)
No exact OS matches for host (If you know what OS is running on it, see https://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=7.70%E=4%D=8/19%OT=6421%CT=1%CU=35028%PV=N%DS=1%DC=D%G=Y%M=0242C0
OS:%TM=64E042F1%P=x86_64-pc-linux-gnu)SEQ(SP=105%GCD=1%ISR=10E%TI=Z%CI=Z%II
OS:=I%TS=A)OPS(O1=M5B4ST11NW7%O2=M5B4ST11NW7%O3=M5B4NNT11NW7%O4=M5B4ST11NW7
OS:%O5=M5B4ST11NW7%O6=M5B4ST11)WIN(W1=FE88%W2=FE88%W3=FE88%W4=FE88%W5=FE88%
OS:W6=FE88)ECN(R=Y%DF=Y%T=40%W=FAF0%O=M5B4NNSNW7%CC=Y%Q=)T1(R=Y%DF=Y%T=40%S
OS:=O%A=S+%F=AS%RD=0%Q=)T2(R=N)T3(R=N)T4(R=Y%DF=Y%T=40%W=0%S=A%A=Z%F=R%O=%R
OS:D=0%Q=)T5(R=Y%DF=Y%T=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=Y%T=40%W=
OS:0%S=A%A=Z%F=R%O=%RD=0%Q=)T7(R=Y%DF=Y%T=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)U
OS:1(R=Y%DF=N%T=40%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)IE(R=Y%DF
OS:I=N%T=40%CD=S)

Uptime guess: 15.985 days (since Thu Aug  3 04:42:00 2023)
Network Distance: 1 hop
TCP Sequence Prediction: Difficulty=261 (Good luck!)
IP ID Sequence Generation: All zeros
Service Info: OS: Unix

TRACEROUTE
HOP RTT     ADDRESS
1   0.04 ms target-1 (192.239.171.3)

NSE: Script Post-scanning.
Initiating NSE at 04:20
Completed NSE at 04:20, 0.00s elapsed
Initiating NSE at 04:20
Completed NSE at 04:20, 0.00s elapsed
Read data files from: /usr/bin/../share/nmap
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 27.72 seconds
           Raw packets sent: 65646 (2.892MB) | Rcvd: 65606 (2.628MB)