JiffyChen / opendlp

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

Winexe issues on Server 2012 #129

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Running an agent scan against Server 2012 R2;
2.OpenDLP will be deployed successfully but OpenDLPz.exe won't get extracted;
3.OpenDLP service will also not be created;
4. Step Status on OpenDLP web console hangs on -1 Deploying;

What is the expected output? What do you see instead?
- Job starting; Job is not running. Instead, OpenDLP is deployed but 
OpenDLPz.exe is not extracted and scan is not executed.

What version of the product are you using? On what operating system?
Default Ubuntu Natty 11.04 image tested with both winexe 1.00 and winexe 1.01 
from purposed solution on http://code.google.com/p/opendlp/issues/detail?id=89

Please provide any additional information below.
Both original settings and with the solution purposed on Issue-89, works on 
Windows 7 machines but not on Windows 8.1 and Server 2012 R2.

It doesn't seem to be an NTLMv2 issue but a SMB v1 Issue instead Since newest 
windows versions have this disabled by default. (already tried to enable them).

Errors on winexe manually execution:
- Executed Command:
sudo winexe --user='my_user' //net_addr --reinstall -d 99 
"c:\windows\system32\cmd.exe"

- Final Error output:
ERROR: smb_raw_open_recv - NT_STATUS_INVALID_PARAMETER
ERROR: on_ctrl_pipe_error - NT_STATUS_INVALID_PARAMETER
ERROR: Cannot open control pipe - NT_STATUS_INVALID_PARAMETER

Original issue reported on code.google.com by aza...@gmail.com on 2 Jun 2015 at 12:00