dwaaan / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

cpyrit_opencl & Radeon HD 4870 on MacOS 10.6.6 #242

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. python setup.py build
2. sudo python setup.py install
3. pyrit benchmark

What is the expected output? What do you see instead?

pyrit benchmark fails!

iMac-de-Thireus:cpyrit_opencl thireus$ pyrit benchmark
Pyrit 0.4.0-dev (svn r288) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Calibrating... Exception in thread OpenCL-Device 'Radeon HD 4870':
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 113, in run
    self._testComputeFunction(101)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 103, in _testComputeFunction
    raise ValueError("Test-vector does not result in correct PMK.")
ValueError: Test-vector does not result in correct PMK.

Exception in thread CPU-Core (SSE2):
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 110, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 632, in _gather
    self._check_cores()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'OpenCL-Device 'Radeon HD 4870'' has died unexpectedly

Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyrit_cli.py", line 115, in initFromArgv
    func(self, **options)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyrit_cli.py", line 1176, in benchmark
    cp.enqueue('foo', ['barbarbar'] * 500)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 564, in enqueue
    self._check_cores()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'OpenCL-Device 'Radeon HD 4870'' has died unexpectedly

What version of the product are you using? On what operating system?

Pyrit 0.4.0-dev (svn r288) (C) 2008-2010 Lukas Lueg 

MacOS 10.6.6, E6500, ATI RADEON HD4870

Please provide any additional information below.

cpyrit_opencl build:

iMac-de-Thireus:cpyrit_opencl thireus$ python setup.py build
running build
running build_ext
Building modules...
building 'cpyrit._cpyrit_opencl' extension
creating build
creating build/temp.macosx-10.6-universal-2.6
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall 
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe 
-I/System/Library/Frameworks/OpenCL.framework/Headers 
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
_cpyrit_opencl.c -o build/temp.macosx-10.6-universal-2.6/_cpyrit_opencl.o -Wall 
-fno-strict-aliasing -DVERSION="0.4.0-dev (svn r288)"
_cpyrit_opencl.c: In function ‘ocldevice_init’:
_cpyrit_opencl.c:248: warning: comparison is always false due to limited range 
of data type
_cpyrit_opencl.c:322: warning: comparison is always false due to limited range 
of data type
_cpyrit_opencl.c: In function ‘init_cpyrit_opencl’:
_cpyrit_opencl.c:769: warning: comparison is always false due to limited range 
of data type
creating build/lib.macosx-10.6-universal-2.6
creating build/lib.macosx-10.6-universal-2.6/cpyrit
gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc -arch 
x86_64 build/temp.macosx-10.6-universal-2.6/_cpyrit_opencl.o -lcrypto -lz -o 
build/lib.macosx-10.6-universal-2.6/cpyrit/_cpyrit_opencl.so -framework OpenCL
ld: warning: in /System/Library/Frameworks//OpenCL.framework/OpenCL, missing 
required architecture ppc in file

Original issue reported on code.google.com by thir...@gmail.com on 18 Jan 2011 at 1:26

GoogleCodeExporter commented 8 years ago
This error is raised as a safeguard. Pyrit computes some passwords whose 
Pairwise Master Key is already known and hardcoded into the sourecode. The 
error "Test-vector does not result in correct PMK." is raised as the driver 
stack returns no error at all but just computes wrong values. This is a bug in 
the driver.

Can you try updating the Ati-driver beyond what MacOS 10.6.6 ?

Original comment by lukas.l...@gmail.com on 18 Jan 2011 at 12:11

GoogleCodeExporter commented 8 years ago
Well, it's not that simple to update drivers on MacOS.

So let's suppose my driver is ok, because I'm sure it is.

I played a bit with the cpyrit.py script, and extracted all the 
self.solve(Core.TV_ESSID, [Core.TV_PW] * i) computed. Here there are:

\x068e6\xcc^\xfd\x03\xf3\xfa\x84\xaa\x8e\xa2\xcc\x84\x08\x97=\xf3K\xd8KS\x80n\xe
d0#\xcd\xa6~
\x068e6\xcc^\xfd\x03\xf3\xfa\x84\xaa\x8e\xa2\xcc\x84\x08\x97=\xf3K\xd8KS\x80n\xe
d0#\xcd\xa6~
\x068e6\xcc^\xfd\x03\xf3\xfa\x84\xaa\x8e\xa2\xcc\x84\x08\x97=\xf3K\xd8KS\x80n\xe
d0#\xcd\xa6~
\x068e6\xcc^\xfd\x03\xf3\xfa\x84\xaa\x8e\xa2\xcc\x84\x08\x97=\xf3K\xd8KS\x80n\xe
d0#\xcd\xa6~
\x068e6\xcc^\xfd\x03\xf3\xfa\x84\xaa\x8e\xa2\xcc\x84\x08\x97=\xf3K\xd8KS\x80n\xe
d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03\xf3\xfa\x84\xaa\x8e\xa2\xcc\x84\x08\x97=\xf3K\xd8KS\x80n\xe
d0#\xcd\xa6~

As you can see at the middle there's a weard result for the computed PMK :/ 
which results into the following error: "Test-vector does not result in correct 
PMK.".
But as I wanted to make sure the other results were correct, I just specified 
to the py script to use the 1st result into the _testComputeFunction condition:

if any((pmk != Core.TV_PMK for pmk in \
                    self.solve(Core.TV_ESSID, [Core.TV_PW] * 1)))

Then I launched the benchmarker, and it computed all well...

Pyrit 0.4.0-dev (svn r288) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Running benchmark (8672.5 PMKs/s)... | 

Computed 8672.49 PMKs/s total.
#1: 'OpenCL-Device 'Radeon HD 4870'': 8194.0 PMKs/s (RTT 2.8)
#2: 'CPU-Core (SSE2)': 1049.9 PMKs/s (RTT 3.0)

So can you please give me some advice to fix this bug? What can be the cause of 
this false computation in the middle?

Regards,
Thi.

Original comment by pascal.c...@gmail.com on 27 Jan 2011 at 11:04

GoogleCodeExporter commented 8 years ago
Here are some results form the test_pyrit.py script if that can help :/ :

iMac-de-Thireus:test thireus$ python test_pyrit.py
Testing with filesystem-storage...
testAnalyze (__main__.FilesystemTestCase) ... ok
testAttackBatch (__main__.FilesystemTestCase) ... ok
testAttackCowpatty (__main__.FilesystemTestCase) ... ok
testAttackDB (__main__.FilesystemTestCase) ... ok
testAttackPassthrough (__main__.FilesystemTestCase) ... ok
testBatch (__main__.FilesystemTestCase) ... ok
testBatchWithFile (__main__.FilesystemTestCase) ... ok
testBenchmark (__main__.FilesystemTestCase) ... ok
testCheckDB (__main__.FilesystemTestCase) ... Error in workunit 
e53cd85f04427db34d19cfd2cf1b88ea: 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/password/B4/e53cd85
f04427db34d19cfd2cf1b88ea.pw' is not a PasswordFile.
Error in workunit caf5164dec3a2a846b744200dc13e406: 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/password/67/caf5164
dec3a2a846b744200dc13e406.pw' is not a PasswordFile.
Error in workunit 56d9f2957a5afc076f68241e6d3b18bb: 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/password/A3/56d9f29
57a5afc076f68241e6d3b18bb.pw' is not a PasswordFile.
Error in workunit 3fc8375ca0a8247c8e4c4b04c5bdae43: Digest check failed
Error in workunit b2b022718443afdb61634cc938bacf64: 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/password/4D/b2b0227
18443afdb61634cc938bacf64.pw' is not a PasswordFile.
Error in workunit 4f7de1557cd2f3c94444e9a856410137: Digest check failed
Error in workunit e7bf9837ff641f5adef33df2b9f953ec: Digest check failed
Error in workunit 5e8657736b97769fdb150148a4530c25: Digest check failed
Error in results 14f5fca13d3fd3ce856ab7266f477e67 for ESSID 'test': pmkbuffer 
seems truncated
Error in results 594c82e8a99e205f7701c416610a8cc4 for ESSID 'test': pmkbuffer 
seems truncated
Error in results 8f091305144c605bef3a65d5b2ae45a7 for ESSID 'test': Header for 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/essid/098f6bcd/8f09
1305144c605bef3a65d5b2ae45a7.pyr' unknown.
Error in results 290f075d0fc9622ce5639072cb1df797 for ESSID 'test': Header for 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/essid/098f6bcd/290f
075d0fc9622ce5639072cb1df797.pyr' unknown.
Error in results 26cc00a4a60a2407ba10f4c901da2bce for ESSID 'test': Reference 
error
Error in results e55bf23c8ab90190dd9616a0fc713a41 for ESSID 'test': pmkbuffer 
seems truncated
Error in results 2a9edc651453181e0a585a812ab6829d for ESSID 'test': Header for 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/essid/098f6bcd/2a9e
dc651453181e0a585a812ab6829d.pyr' unknown.
Error in results a8b06bd15a9caada7334302c095afc80 for ESSID 'test': pmkbuffer 
seems truncated
Error in results 63a3af2eec2e50424099a67c670e01ff for ESSID 'test': pmkbuffer 
seems truncated
Error in results c2caa69d253734d22819d861658b7f0d for ESSID 'test': Reference 
error
Error in results 35cf04d4b5a4c70fc396bc1af6c23fe2 for ESSID 'test': Header for 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/essid/098f6bcd/35cf
04d4b5a4c70fc396bc1af6c23fe2.pyr' unknown.
Error in results f8dd62747d0446dfa065f46a92190988 for ESSID 'test': Invalid 
ESSID in result-collection
Error in results 02f948af3e69c37c686badd6767c6f52 for ESSID 'test': Reference 
error
Error in results 44ddebb39de668c35a25a7efa9e83e94 for ESSID 'test': Reference 
error
Error in results 3fe970819ef03dd660f032d7f280d21c for ESSID 'test': Reference 
error
Error in results 30052ab00c0ba58286a594a79d3702e6 for ESSID 'test': Header for 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/essid/098f6bcd/3005
2ab00c0ba58286a594a79d3702e6.pyr' unknown.
Error in results 112a9343e4f46aa7f049838e52bf2bd9 for ESSID 'test': pmkbuffer 
seems truncated
Error in results f1a21d79306293a5f604e1d41c2ff77f for ESSID 'test': Header for 
'/var/folders/Cn/CnH4IODYF8etbYWhf5gffE+++TI/-Tmp-/tmpIJWtiP/essid/098f6bcd/f1a2
1d79306293a5f604e1d41c2ff77f.pyr' unknown.
ok
testCreateAndDeleteEssid (__main__.FilesystemTestCase) ... ok
testEval (__main__.FilesystemTestCase) ... ok
testExportCowpatty (__main__.FilesystemTestCase) ... ok
testExportHashdb (__main__.FilesystemTestCase) ... ok
testExportPasswords (__main__.FilesystemTestCase) ... ok
testHandshakes (__main__.FilesystemTestCase) ... ok
testImportPasswords (__main__.FilesystemTestCase) ... ok
testListCores (__main__.FilesystemTestCase) ... ok
testListEssids (__main__.FilesystemTestCase) ... ok
testPassthrough (__main__.FilesystemTestCase) ... FAIL
testPrintHelp (__main__.FilesystemTestCase) ... ok
testSelfTest (__main__.FilesystemTestCase) ... ERROR
testStripCapture (__main__.FilesystemTestCase) ... ok
testStripLive (__main__.FilesystemTestCase) ... ok
testVerify (__main__.FilesystemTestCase) ... Workunit 
feafa81ae9adf2e18a4a76d8dbbb7686 for ESSID 'test' is corrupt.
Workunit 54452d651d02f59b07ad5bae21cb3802 for ESSID 'test' is corrupt.
Workunit 75deeff46b34576f1a3b0cbabde5a0c5 for ESSID 'test' is corrupt.
Workunit 089d7c33242060f4efa787c1e7ff75c4 for ESSID 'test' is corrupt.
Workunit 430bc8460a5c9f77734367f698c75592 for ESSID 'test' is corrupt.
Workunit 8b46ccac458f4fe0a4d4c2e2c84c04ec for ESSID 'test' is corrupt.
Workunit d57b781870c0ef3df45d756aa45501cc for ESSID 'test' is corrupt.
ERROR

======================================================================
ERROR: testSelfTest (__main__.FilesystemTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pyrit.py", line 441, in testSelfTest
    self.cli.selftest(timeout=3)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyrit_cli.py", line 1263, in selftest
    raise PyritRuntimeError("\n!!! WARNING !!!\nAt least some " \
PyritRuntimeError: 
!!! WARNING !!!
At least some results seem to be invalid. This may be caused by a bug in Pyrit, 
faulty hardware or malicious network clients. Do not trust this installation...

======================================================================
ERROR: testVerify (__main__.FilesystemTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pyrit.py", line 313, in testVerify
    self.cli.verify(storage)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyrit_cli.py", line 1329, in verify
    "\nAt least one workunit-file contains invalid results." \
PyritRuntimeError: 
At least one workunit-file contains invalid results. There are two options now:
* The results on the disk are corrupted or invalid. You should mistrust the 
entire repository but at least delete and recompute the offending ESSIDs.
* The result on the disk are correct but your installation is broken and 
currently computes invalid results.
Run 'selftest' for an extensive self-test in order to tell the two options 
apart.

Original comment by pascal.c...@gmail.com on 27 Jan 2011 at 11:32

GoogleCodeExporter commented 8 years ago
This is almost guaranteed to be a driver problem. Can you try upgrading or even 
downgrading it?

ATI has a long, long, long history of faulty drivers that return ill-computed 
results without any error indication. Just search this bug-tracker. The code 
that runs the self-test to detect such error was built in specifically for 
ATI...

Original comment by lukas.l...@gmail.com on 28 Jan 2011 at 7:39

GoogleCodeExporter commented 8 years ago
there is little we can do if the driver returns no error condition but returns 
invalid results

Original comment by lukas.l...@gmail.com on 15 Feb 2011 at 4:12