utkusen / eda2

a more complex ransomware honeypot
MIT License
121 stars 122 forks source link

Encrypted AES Key - missing #5

Closed 15w34r0n3D4y closed 8 years ago

15w34r0n3D4y commented 8 years ago

Hello.

I tested this tool files locked works, get info: PC Name, Username, Private Key but NOT Encrypted AES Key and when click on Decipher nothing happend.

How fix it? Something wrong in SQL database maybe? Thank you for answer.

15w34r0n3D4y commented 8 years ago

"You need to have a web server which runs Php and Mysql"

which version PHP and MySQL?

utkusen commented 8 years ago

latest versions works fine

15w34r0n3D4y commented 8 years ago

But get error "RSA" "Modulus" ... on older this error not showing but no Encrypted AES Key...

NexusFuzzy commented 8 years ago

Same here.

$rsa->decrypt(base64_decode($ciphertext))

returns an empty string.

NexusFuzzy commented 8 years ago

Got it running the error was on my side. In my case the field "privatekey" in my database was too short and the string got truncated. After resizing the column (in my case 2048) it worked like a charme

15w34r0n3D4y commented 8 years ago

Varchar (2048) or LongText both works for "privatekey" but what about "AES Key" works too? And are you edit something or not?

NexusFuzzy commented 8 years ago

See my columns here:

id; int (auto_increment) pcname; varchar(300) aesencrypted: varchar(1024) username: varchar(256) privatekey: varchar(2048)

Maybe they could be smaller but idk as long as it works

15w34r0n3D4y commented 8 years ago

:+1: thank you it works now. :v:

DataDrug commented 7 years ago

@hariomenkel @15w34r0n3D4y I'm trying this for a proof of concept project, however after compiling I get the RSA MODULUS error, how have you fixed it ?

Thanks.

Gembeltz commented 6 years ago

i need file .sql for connect to sql server ...