Reeves0x0 retweeted
Linux lsof commands that will save Devops engineers hours of debugging.
1. Find what's using a specific port
$ lsof -i :5000
Shows which process is listening on port 5000.
2. List all network connections
$ lsof -i
Shows all processes with active network connections.
3. Find all files opened by a user
$ lsof -u username
Lists every file a specific user has open.
4. Find what files a process is using
$ lsof -p 1234
Shows all files opened by process ID 1234.
5. Find which process is using a file
$ lsof /var/log/syslog
Shows which process has this file open.
6. List all TCP connections
$ lsof -i TCP
Shows only TCP network connections.
7. Find all UDP connections
$ lsof -i UDP
Shows only UDP network connections.
8. List files opened by a specific command
$ lsof -c nginx
Shows all files opened by nginx processes.
9. Find deleted files still using disk space
$ lsof | grep deleted
Shows deleted files that processes still have open (eating disk space).
10. List all IPv4 connections
$ lsof -i 4
Shows only IPv4 network connections.
11. Find who's accessing a directory
$ lsof +D /var/log
Shows all processes accessing files in this directory.
12. Monitor network activity in real-time
$ lsof -i -r 2
Refreshes every 2 seconds showing live network connections.
Pro tip: Combine multiple flags for powerful debugging:
$ lsof -u root -i TCP:80
Shows all port 80 connections by root user.
Save this post. You'll need it during your next production incident.
Reeves0x0 retweeted
GitHub - felixweyne/imaginaryC2: Imaginary C2 is a python tool which aims to help in the behavioral (network) analysis of malware. Imaginary C2 hosts a HTTP server which captures HTTP requests towards selectively chosen domains/IPs. Additionally, github.com/felixweyne/imagin…
Reeves0x0 retweeted
В containerd приняты изменения, позволяющие запускать Linux-контейнеры во FreeBSD opennet.ru/57411/
Reeves0x0 retweeted
VMWare ESXi exploit for CVE-2021-21974 which is a heap overflow leading to remote code execution dlvr.it/S1L9w7 #security #threathunting #infosec
Reeves0x0 retweeted
A #redteamtool to dig into today - the Active Directory Lab Setup Tool, which is exactly what the name implies. This #PowerShell-based tool helps you quickly set up an #ActiveDirectory lab for testing. hubs.la/H0Fj7Rf0
Reeves0x0 retweeted
Evilreg - Reverse Shell Using Windows Registry Files (.Reg) ift.tt/2z6XSlw
Reeves0x0 retweeted
#FakeLogonScreen is a C# utility to steal a user's password using a fake Windows logon screen. This password will then be validated and saved to disk. Useful in combination with #CobaltStrike's execute-assembly command.
github.com/bitsadmin/fakelog…
Reeves0x0 retweeted
#WindowsServer 2019 Cluster vs Windows Server 2016 Cluster
@clusterMVP
robertsmit.wordpress.com/201… #WS2019
Reeves0x0 retweeted
New Windows 10 zero-day gets published to Github by SandboxEscaper
neowin.net/news/new-windows-…
Github: github.com/SandboxEscaper/po…
Reeves0x0 retweeted
Get a list of IPs connected via #RDP so far
PS C:\> Get-WinEvent -Log 'Microsoft-Windows-TerminalServices-LocalSessionManager/Operational' | select -exp Properties | where {$_.Value -like '*.*.*.*' } | sort Value -u
#sysadmin #PowerShell #audit #blueteam
Reeves0x0 retweeted
Как мы реализовали новый подход к выявлению целевых атак – тема нового вебинара @ptsecurity. Не пропустите, 6 декабря в 14:00 ptsecurity.com/ru-ru/researc…
Reeves0x0 retweeted
Lmao. Linux is so violent 🤣Via reddit.com/r/linuxmemes/comm…































