Phantom-Evasion icon indicating copy to clipboard operation
Phantom-Evasion copied to clipboard

Insert certificate spoofing target issue

Open hdawg12 opened this issue 7 years ago • 5 comments

I am getting this error everytime I reach the "Insert the certificate spoofing target(default: www.microsoft.com:443):

Here is the error:

[>] Sign executable? (y/n):y

[>] Insert certificate spoofing target (default: www.microsoft.com:443): www.microsoft.com:443 Traceback (most recent call last): File "./phantom-evasion.py", line 718, in complete_menu() File "./phantom-evasion.py", line 175, in complete_menu Phantom_lib.shellcode_completer(module_type) File "Setup/Phantom_lib.py", line 1538, in shellcode_completer module_launcher1(module_type) File "Setup/Phantom_lib.py", line 1425, in module_launcher1 auto_compiler(module_choice,Arc,output_filename) File "Setup/Phantom_lib.py", line 1242, in auto_compiler exe_signer(filename) File "Setup/Phantom_lib.py", line 422, in exe_signer cert.set_notBefore(x509.get_notBefore()) File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 1328, in set_notBefore return self._set_boundary_time(_lib.X509_get_notBefore, when) File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 1315, in _set_boundary_time return _set_asn1_time(which(self._x509), when) File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 120, in _set_asn1_time set_result = _lib.ASN1_TIME_set_string(boundary, when) AttributeError: 'module' object has no attribute 'ASN1_TIME_set_string'

Do I have to update something?

hdawg12 avatar Jan 10 '19 00:01 hdawg12

anyone have any ideas?

hdawg12 avatar Jan 19 '19 06:01 hdawg12

anyone?

hdawg12 avatar Apr 21 '19 22:04 hdawg12

i guess no one has a solution then.

hdawg12 avatar May 18 '19 03:05 hdawg12

well geez this sucks

hdawg12 avatar Dec 25 '19 07:12 hdawg12

Check your system's time configuration. Even if you don't understand the technical parts of the log file, it seems pretty clear that the Py2.7's OpenSSL module is not working properly. Have you tried checking the packages via pip?

0x25bit avatar Jan 02 '20 09:01 0x25bit