File name:

ocspackage.exe

Full analysis: https://app.any.run/tasks/ba1534b9-019b-44e2-90b4-b0c5383bb70f
Verdict: Malicious activity
Analysis date: January 13, 2021, 14:22:37
OS: Windows 7 Professional Service Pack 1 (build: 7601, 32 bit)
Tags:
installer
Indicators:
MIME: application/x-dosexec
File info: PE32 executable (GUI) Intel 80386, for MS Windows, Nullsoft Installer self-extracting archive
MD5:

9398B5F8501D5723C69E87B908EB76E1

SHA1:

D4E06BF2E2C325C88A22A41D3504EC8452D97FAD

SHA256:

7019164F12CDB6E18A7E8F082A110DC73010E0166B603FACA24C14D9EC4DA9B1

SSDEEP:

24576:xfe4cnIFnEm3L6B5iA68s8YTobVr38YCS6cOR6qgO+BWRBnsAAw/R9z6RPQG:lcIOYG5iAA8Y+prCS6cI6tOyWrsAAE6z

ANY.RUN is an interactive service which provides full access to the guest system. Information in this report could be distorted by user actions and is provided for user acknowledgement as it is. ANY.RUN does not guarantee maliciousness or safety of the content.
  • MALICIOUS

    • Drops executable file immediately after starts

      • ocspackage.exe (PID: 3060)
      • instocs.exe (PID: 3068)
      • OcsSetup.exe (PID: 2908)
    • Loads dropped or rewritten executable

      • ocspackage.exe (PID: 3060)
      • instocs.exe (PID: 3068)
      • OcsSetup.exe (PID: 2908)
    • Application was dropped or rewritten from another process

      • instocs.exe (PID: 3068)
      • OcsSetup.exe (PID: 2908)
  • SUSPICIOUS

    • Drops a file with too old compile date

      • ocspackage.exe (PID: 3060)
      • instocs.exe (PID: 3068)
      • OcsSetup.exe (PID: 2908)
    • Executable content was dropped or overwritten

      • ocspackage.exe (PID: 3060)
      • instocs.exe (PID: 3068)
      • OcsSetup.exe (PID: 2908)
    • Drops a file that was compiled in debug mode

      • ocspackage.exe (PID: 3060)
    • Creates a directory in Program Files

      • instocs.exe (PID: 3068)
  • INFO

    No info indicators.
Find more information about signature artifacts and mapping to MITRE ATT&CK™ MATRIX at the full report
No Malware configuration.

TRiD

.exe | NSIS - Nullsoft Scriptable Install System (94.8)
.exe | Win32 Executable MS Visual C++ (generic) (3.4)
.dll | Win32 Dynamic Link Library (generic) (0.7)
.exe | Win32 Executable (generic) (0.5)
.exe | Generic Win/DOS Executable (0.2)

EXIF

EXE

MachineType: Intel 386 or later, and compatibles
TimeStamp: 2006:11:27 18:36:12+01:00
PEType: PE32
LinkerVersion: 6
CodeSize: 23552
InitializedDataSize: 166400
UninitializedDataSize: 1024
EntryPoint: 0x3161
OSVersion: 4
ImageVersion: -
SubsystemVersion: 4
Subsystem: Windows GUI
FileVersionNumber: 4.0.5.4
ProductVersionNumber: 4.0.5.4
FileFlagsMask: 0x0000
FileFlags: (none)
FileOS: Win32
ObjectFileType: Executable application
FileSubtype: -
LanguageCode: English (U.S.)
CharacterSet: Windows, Latin1
Comments: OcsAgentSetup.exe v4.0.5.4 for OCS Inventory NG
CompanyName: Ocs Inventory Team
FileDescription: OcsAgentSetup.exe v4.0.5.4 for OCS Inventory NG
FileVersion: 4.0.5.4
LegalCopyright: Ocs Inventory Team
LegalTrademarks: OcsPackager is an addon for Ocs Inventory NG.
ProductName: Package made by OcsPackager

Summary

Architecture: IMAGE_FILE_MACHINE_I386
Subsystem: IMAGE_SUBSYSTEM_WINDOWS_GUI
Compilation Date: 27-Nov-2006 17:36:12
Detected languages:
  • English - United States
Comments: OcsAgentSetup.exe v4.0.5.4 for OCS Inventory NG
CompanyName: Ocs Inventory Team
FileDescription: OcsAgentSetup.exe v4.0.5.4 for OCS Inventory NG
FileVersion: 4.0.5.4
LegalCopyright: Ocs Inventory Team
LegalTrademarks: OcsPackager is an addon for Ocs Inventory NG.
ProductName: Package made by OcsPackager

DOS Header

Magic number: MZ
Bytes on last page of file: 0x0090
Pages in file: 0x0003
Relocations: 0x0000
Size of header: 0x0004
Min extra paragraphs: 0x0000
Max extra paragraphs: 0xFFFF
Initial SS value: 0x0000
Initial SP value: 0x00B8
Checksum: 0x0000
Initial IP value: 0x0000
Initial CS value: 0x0000
Overlay number: 0x0000
OEM identifier: 0x0000
OEM information: 0x0000
Address of NE header: 0x000000D8

PE Headers

Signature: PE
Machine: IMAGE_FILE_MACHINE_I386
Number of sections: 5
Time date stamp: 27-Nov-2006 17:36:12
Pointer to Symbol Table: 0x00000000
Number of symbols: 0
Size of Optional Header: 0x00E0
Characteristics:
  • IMAGE_FILE_32BIT_MACHINE
  • IMAGE_FILE_EXECUTABLE_IMAGE
  • IMAGE_FILE_LINE_NUMS_STRIPPED
  • IMAGE_FILE_LOCAL_SYMS_STRIPPED
  • IMAGE_FILE_RELOCS_STRIPPED

Sections

Name
Virtual Address
Virtual Size
Raw Size
Charateristics
Entropy
.text
0x00001000
0x00005BFE
0x00005C00
IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ
6.48354
.rdata
0x00007000
0x000011FE
0x00001200
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ
5.27785
.data
0x00009000
0x000264F4
0x00000400
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
5.21099
.ndata
0x00030000
0x00008000
0x00000000
IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
0
.rsrc
0x00038000
0x00002D50
0x00002E00
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ
4.59766

Resources

Title
Entropy
Size
Codepage
Language
Type
1
3.38253
892
UNKNOWN
English - United States
RT_VERSION
103
1.91924
20
UNKNOWN
English - United States
RT_GROUP_ICON
105
2.66174
256
UNKNOWN
English - United States
RT_DIALOG
106
2.88094
284
UNKNOWN
English - United States
RT_DIALOG
111
2.48825
96
UNKNOWN
English - United States
RT_DIALOG

Imports

ADVAPI32.dll
COMCTL32.dll
GDI32.dll
KERNEL32.dll
SHELL32.dll
USER32.dll
VERSION.dll
ole32.dll
No data.
screenshotscreenshotscreenshotscreenshotscreenshotscreenshotscreenshotscreenshotscreenshotscreenshot
All screenshots are available in the full report
All screenshots are available in the full report
Total processes
43
Monitored processes
4
Malicious processes
3
Suspicious processes
0

Behavior graph

Click at the process to see the details
drop and start start ocspackage.exe instocs.exe ocssetup.exe ocspackage.exe no specs

Process information

PID
CMD
Path
Indicators
Parent process
2804"C:\Users\admin\AppData\Local\Temp\ocspackage.exe" C:\Users\admin\AppData\Local\Temp\ocspackage.exeexplorer.exe
User:
admin
Company:
Ocs Inventory Team
Integrity Level:
MEDIUM
Description:
OcsAgentSetup.exe v4.0.5.4 for OCS Inventory NG
Exit code:
3221226540
Version:
4.0.5.4
Modules
Images
c:\systemroot\system32\ntdll.dll
2908"C:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\OcsSetup.exe" /server:invsistemas.hnjtb.gcba.gob.ar /now /NoOcs_ContactLnkC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\OcsSetup.exe
instocs.exe
User:
admin
Company:
OCS Inventory NG Team
Integrity Level:
HIGH
Description:
OCS Inventory NG Agent for Windows installed as a service
Exit code:
1
Version:
4.0.5.4
Modules
Images
c:\users\admin\appdata\local\temp\nsv2f38.tmp\ocssetup.exe
c:\systemroot\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\user32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\shell32.dll
3060"C:\Users\admin\AppData\Local\Temp\ocspackage.exe" C:\Users\admin\AppData\Local\Temp\ocspackage.exe
explorer.exe
User:
admin
Company:
Ocs Inventory Team
Integrity Level:
HIGH
Description:
OcsAgentSetup.exe v4.0.5.4 for OCS Inventory NG
Exit code:
0
Version:
4.0.5.4
Modules
Images
c:\users\admin\appdata\local\temp\ocspackage.exe
c:\systemroot\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\user32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\shell32.dll
3068instocs.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\instocs.exe
ocspackage.exe
User:
admin
Integrity Level:
HIGH
Exit code:
0
Modules
Images
c:\users\admin\appdata\local\temp\nsv2f38.tmp\instocs.exe
c:\systemroot\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\user32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\usp10.dll
c:\windows\system32\shell32.dll
Total events
687
Read events
686
Write events
1
Delete events
0

Modification events

(PID) Process:(3060) ocspackage.exeKey:HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager
Operation:writeName:PendingFileRenameOperations
Value:
\??\C:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\
Executable files
11
Suspicious files
0
Text files
64
Unknown types
0

Dropped files

PID
Process
Filename
Type
3060ocspackage.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\OcsSetup.exeexecutable
MD5:
SHA256:
3068instocs.exeC:\Users\admin\AppData\Local\Temp\ocspackage.logtext
MD5:
SHA256:
2908OcsSetup.exeC:\Users\admin\AppData\Local\Temp\nsx3468.tmp
MD5:
SHA256:
2908OcsSetup.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\OcsAgentSetup.logtext
MD5:
SHA256:
3060ocspackage.exeC:\Users\admin\AppData\Local\Temp\ocspackage.logtext
MD5:
SHA256:
3060ocspackage.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\ocsdat.initext
MD5:
SHA256:
3060ocspackage.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\System.dllexecutable
MD5:05E52213CFA17DEE760186462A9645ED
SHA256:D9D3FFA4C7D7A152F435F4777E72AA1B6A6C0555F277E59EEDEBC587C3B66BA5
3060ocspackage.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\RemCom.exeexecutable
MD5:CEC4BB3B2F4D2CA2F3468103EFB5967D
SHA256:B60445B7128B1D5C86F85B364C21F84CEE7A77A3CD9856808D9561581666E1D8
3060ocspackage.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\UserInfo.dllexecutable
MD5:B27F488ADB12BEF2CCF9B9B900EC090C
SHA256:62F30CA60CFC2E2A64C159F28B5CAF59C6AF96FAC64C59ED8D8512D7083E9439
3060ocspackage.exeC:\Users\admin\AppData\Local\Temp\nsv2F38.tmp\instocs.exeexecutable
MD5:B3B8801243AA3CAC66CDF3C644C1CC5F
SHA256:25E1B44573DF661A08D187EA52CA942704550BF33C7DD46BCC53CF0C13FD8A4F
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
0
TCP/UDP connections
0
DNS requests
0
Threats
0

HTTP requests

No HTTP requests
Download PCAP, analyze network streams, HTTP content and a lot more at the full report

Connections

No data

DNS requests

No data

Threats

No threats detected
No debug info