Witr: Understanding Why a Process is Running

📅 Published March 30, 2026 ·linuxtoolingforensicsdefensive-security

Written by Aryan


🧠 The Real Problem

You’re in your lab… or maybe debugging your own project…

You run:

ps aux | grep node

You see:

node server.js

Cool.

But then…

👉 Your CPU is high
👉 Port 5000 is open
👉 Something feels off

Now the real question hits:

“Bro… WHY is this even running?”

Not what.
Not where.
👉 WHY.


⚡ Enter Witr (Game-Changer Moment)

Instead of guessing like a caveman 🪨

Run:

witr node

And suddenly…

systemd → pm2 → node → server.js

💡 Instant clarity:

No more guessing. No more switching tools.


🔥 Make It Real: A Scenario You’ll Actually Face

🧪 Situation:

You’re building:

Suddenly:

👉 Port 5000 is open
👉 You don’t remember starting anything


Without Witr:

netstat -tulnp
ps aux
lsof -i :5000

🧠 Brain:

“Maybe docker? maybe pm2? maybe I forgot?”


With Witr:

witr --port 5000

Output:

systemd → pm2 → node → app.js

💥 Done in 2 seconds.


🧬 Why This Hits Different (Core Concept)

Most tools show:

Witr shows:

CAUSALITY (cause → effect)


🧠 Think like this:

Every process is a chain reaction:

cron → bash → python → payload.py

OR

ssh → bash → script.sh → reverse_shell

👉 Witr reconstructs this chain.

That’s incident response level visibility.


⚔️ Cybersecurity Angle (Your Level)

🔍 Detect Persistence (Attacker Mindset)

If you see:

cron → bash → python → backdoor.py

🚨 That’s not normal.

You just found:


🔥 Post Exploitation Awareness

After getting access to a system:

Instead of blindly exploring:

ps aux

Use:

witr

👉 Launch TUI mode

Now you get:


🖥️ Interactive Mode (This is 🔥)

Image

Run:

witr -i

You get:

👉 It’s like htop but with brain


⚙️ Install (Keep It Simple)

Linux / macOS:

curl -fsSL https://raw.githubusercontent.com/pranshuparmar/witr/main/install.sh | bash

Windows:

irm https://raw.githubusercontent.com/pranshuparmar/witr/main/install.ps1 | iex

🧪 Quick Commands (Daily Use)

witr nginx          # check service
witr --port 5000    # who owns port
witr --pid 1337     # inspect specific process
witr -i             # interactive mode

⚖️ Ethics (Real Talk)

Same tool.

Different mindset.

👉 Skill is neutral. Intent defines direction.