Welcome, Guest. Please login or register.

Author Topic: Brute Force  (Read 207 times)

0 Members and 1 Guest are viewing this topic.

Offline foobar

  • Fresh Nxter
  • *
  • Posts: 4
    • View Profile
Brute Force
« on: December 09, 2013, 02:54:22 PM »
The possibility of dictionary attacks has previously been discussed. We
wondered how hard such an attack would be and found that a few lines of
Java code are sufficient.

With the attached code, little time and basic password lists, we were
able to get access to more than ten accounts with funds. Some of these
accounts had gotten money straight from the genesis block and some at
the time still contained >10,000 NXT.

We want to raise awareness how easy such an attack is, especially
because it can be performed offline. The code is entirely unoptimized
and achieves roughly 3000 tries/sec on a laptop computer. We realise
that the developers have added a warning in 0.3.13.

Offline milkmans

  • Fresh Nxter
  • *
  • Posts: 3
    • View Profile
Re: Brute Force
« Reply #1 on: December 09, 2013, 07:49:34 PM »
How long were the passwords?
8821903830194125907

Offline foobar

  • Fresh Nxter
  • *
  • Posts: 4
    • View Profile
Re: Brute Force
« Reply #2 on: December 09, 2013, 10:58:32 PM »
Number of characters per password:

1x4
1x5
3x6
1x7
3x8
1x9
4x10
1x11
1x13
1x18

Offline Come-from-Beyond

  • Established Nxter
  • ***
  • Posts: 171
    • View Profile
Re: Brute Force
« Reply #3 on: December 09, 2013, 11:19:05 PM »
What's happened to 14 chars long password? I'm still using it and it was created in the genesis block.

Offline LiQio

  • Fresh Nxter
  • *
  • Posts: 25
  • |_| NXT 17554870974799505420
    • View Profile
Re: Brute Force
« Reply #4 on: December 09, 2013, 11:45:24 PM »
What's happened to 14 chars long password? I'm still using it and it was created in the genesis block.

Didn't they use a list, so a "complicated" password will hardly be found that fast...

or am I wrong foobar?

Offline opticalc

  • Global Moderator
  • Nxter
  • *****
  • Posts: 107
    • View Profile
Re: Brute Force
« Reply #5 on: December 09, 2013, 11:51:21 PM »
What's happened to 14 chars long password? I'm still using it and it was created in the genesis block.

Didn't they use a list, so a "complicated" password will hardly be found that fast...

or am I wrong foobar?

yes, if you examine the code you will see the file opens a .txt file that is expected to contain a standard dictionary attack list of potential passwords to crack on.
Not a stakeholder, so NXT accepted here: 12692935506199079028 if you think I've given value here

Offline foobar

  • Fresh Nxter
  • *
  • Posts: 4
    • View Profile
Re: Brute Force
« Reply #6 on: December 10, 2013, 12:10:35 AM »
Right, we used a wordlist with common "words". Improving performance could however affect any shorter password, so try using long ones.

Offline miztaziggy

  • Fresh Nxter
  • *
  • Posts: 47
    • View Profile
Re: Brute Force
« Reply #7 on: December 10, 2013, 06:31:10 PM »
How did you compile this without decompiling nxt.class file and recompiling with package declaration?


Offline achim

  • Fresh Nxter
  • *
  • Posts: 3
    • View Profile
Re: Brute Force
« Reply #8 on: December 10, 2013, 06:43:20 PM »
How did you compile this without decompiling nxt.class file and recompiling with package declaration?

I have excatly the same question. Trying to play around with it, no bad intentions!

Offline miztaziggy

  • Fresh Nxter
  • *
  • Posts: 47
    • View Profile
Re: Brute Force
« Reply #9 on: December 10, 2013, 06:46:53 PM »
How did you compile this without decompiling nxt.class file and recompiling with package declaration?

I have excatly the same question. Trying to play around with it, no bad intentions!

Yeah it's not easy.

Offline Come-from-Beyond

  • Established Nxter
  • ***
  • Posts: 171
    • View Profile
Re: Brute Force
« Reply #10 on: December 10, 2013, 06:50:28 PM »
Have u tried Project Properties -> Java Build Path -> Libraries -> Add Class Folder in Eclipse?

Offline miztaziggy

  • Fresh Nxter
  • *
  • Posts: 47
    • View Profile
Re: Brute Force
« Reply #11 on: December 10, 2013, 07:03:15 PM »
Have u tried Project Properties -> Java Build Path -> Libraries -> Add Class Folder in Eclipse?

It doesn't work even if you do link nxt.class. Not sure this source code is actually possible to compile in fact.

Offline Come-from-Beyond

  • Established Nxter
  • ***
  • Posts: 171
    • View Profile
Re: Brute Force
« Reply #12 on: December 10, 2013, 07:14:58 PM »
Then just decompile and copy-paste all the code into ur password cracker.

Offline miztaziggy

  • Fresh Nxter
  • *
  • Posts: 47
    • View Profile
Re: Brute Force
« Reply #13 on: December 10, 2013, 07:30:26 PM »
Then just decompile and copy-paste all the code into ur password cracker.

Decompiling it all and trying to recompile with the nxt.class included just produces a ton of errors

Have you actually tried this?

Offline Come-from-Beyond

  • Established Nxter
  • ***
  • Posts: 171
    • View Profile
Re: Brute Force
« Reply #14 on: December 10, 2013, 07:52:36 PM »
Then just decompile and copy-paste all the code into ur password cracker.

Decompiling it all and trying to recompile with the nxt.class included just produces a ton of errors

Have you actually tried this?

I have not tried to compile it back, used to decomple just to read the code.