Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-02-2023 11:43

General

  • Target

    Portail commercial.exe

  • Size

    2.4MB

  • MD5

    146bfd0243ed2d774ac9c6668e52c479

  • SHA1

    d716bd0f15dcf5da625f649ddb720d1d007243c4

  • SHA256

    1b1b465907d70a5be723778e15933b70e5ba1154f0f5e4c023194065c8baeb7f

  • SHA512

    2b8877de3a1bb025933b920ad032ee738cabf61643a6ca294ae54039d288477569600237eec21091458a0f393fcf42c8dc9fc23f004e9d552b5dcded9b3a9a96

  • SSDEEP

    49152:i5MGYDz/oX2xZmsty1XXT+N3mbCJdSl6YevAt6S6wQnMZSxYN6+tDq:iiGYDz/l7y1Xa5mqs6Y2pFeZH6gDq

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

hamzzagolozar.loseyourip.com:14981

Mutex

f76e5199-b9b0-45ae-b449-2e38e6b112aa

Attributes
  • activate_away_mode

    true

  • backup_connection_host

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2022-07-01T00:24:26.401438736Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    14981

  • default_group

    SEGUN

  • enable_debug_mode

    true

  • gc_threshold

    1.048576e+07

  • keep_alive_timeout

    30000

  • keyboard_logging

    false

  • lan_timeout

    2500

  • max_packet_size

    1.048576e+07

  • mutex

    f76e5199-b9b0-45ae-b449-2e38e6b112aa

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    hamzzagolozar.loseyourip.com

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    true

  • set_critical_process

    true

  • timeout_interval

    5000

  • use_custom_dns_server

    false

  • version

    1.2.2.0

  • wan_timeout

    8000

Extracted

Family

bitrat

Version

1.38

C2

bitratluckshinjisix130.freeddns.org:7011

Attributes
  • communication_password

    4688fcb37886b8fed122f9514ecbb5ea

  • tor_process

    tor

Signatures

  • BitRAT

    BitRAT is a remote access tool written in C++ and uses leaked source code from other families.

  • NanoCore

    NanoCore is a remote access tool (RAT) with a variety of capabilities.

  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 3 IoCs
  • UPX packed file 6 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Adds Run key to start application 2 TTPs 2 IoCs
  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 5 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Suspicious behavior: EnumeratesProcesses 14 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Portail commercial.exe
    "C:\Users\Admin\AppData\Local\Temp\Portail commercial.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1476
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ENC cwB0AGEAcgB0AC0AcwBsAGUAZQBwACAALQBzAGUAYwBvAG4AZABzACAAMgAwAA==
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2992
    • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe
      "C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4800
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ENC cwB0AGEAcgB0AC0AcwBsAGUAZQBwACAALQBzAGUAYwBvAG4AZABzACAAMgAwAA==
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2592
      • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe
        C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe
        3⤵
        • Executes dropped EXE
        PID:2208
      • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe
        C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of NtSetInformationThreadHideFromDebugger
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:5100
    • C:\Users\Admin\AppData\Local\Temp\Portail commercial.exe
      "C:\Users\Admin\AppData\Local\Temp\Portail commercial.exe"
      2⤵
        PID:2908
      • C:\Users\Admin\AppData\Local\Temp\Portail commercial.exe
        "C:\Users\Admin\AppData\Local\Temp\Portail commercial.exe"
        2⤵
        • Checks whether UAC is enabled
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of AdjustPrivilegeToken
        PID:1104

    Network

    MITRE ATT&CK Enterprise v6

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

      Filesize

      1KB

      MD5

      6195a91754effb4df74dbc72cdf4f7a6

      SHA1

      aba262f5726c6d77659fe0d3195e36a85046b427

      SHA256

      3254495a5513b37a2686a876d0040275414699e7ce760e7b5ee05e41a54b96f5

      SHA512

      ed723d15de267390dc93263538428e2c881be3494c996a810616b470d6df7d5acfcc8725687d5c50319ebef45caef44f769bfc32e0dc3abd249dacff4a12cc89

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache

      Filesize

      53KB

      MD5

      06ad34f9739c5159b4d92d702545bd49

      SHA1

      9152a0d4f153f3f40f7e606be75f81b582ee0c17

      SHA256

      474813b625f00710f29fa3b488235a6a22201851efb336bddf60d7d24a66bfba

      SHA512

      c272cd28ae164d465b779163ba9eca6a28261376414c6bbdfbd9f2128adb7f7ff1420e536b4d6000d0301ded2ec9036bc5c657588458bff41f176bdce8d74f92

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      16KB

      MD5

      29e5a11a403b7d04fbc31a248bab201a

      SHA1

      e900f4b99e516c966b2a89fdb18aad60bbbddf8a

      SHA256

      371000c1140caf2edd3de7d1c8226e221e5459926d87eb0500e06da2c8796b44

      SHA512

      05463952bebc2efec11355cc81f3e9f31aa624de147a1697d291895a51dd032c7215d7d820ea236adbd1fc10a9b9f36d94ef53f76513878cd555f74154c4e344

    • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe

      Filesize

      1.9MB

      MD5

      c067642ee75a78d31964d7951c0673ee

      SHA1

      6eda0e0896e1517e10dd8a4e4202704860b0514a

      SHA256

      4824cf3c52d037cccdaf9d7422b393a7e0a769b27b92c899484048cef7876bad

      SHA512

      3ae2af350df6806ed7127fe2ff843c08429d4a38755899425e49e1019beab0af765766a668884673819768a21a5b01caa0498f4875997a6d08b47048038cbcc0

    • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe

      Filesize

      1.9MB

      MD5

      c067642ee75a78d31964d7951c0673ee

      SHA1

      6eda0e0896e1517e10dd8a4e4202704860b0514a

      SHA256

      4824cf3c52d037cccdaf9d7422b393a7e0a769b27b92c899484048cef7876bad

      SHA512

      3ae2af350df6806ed7127fe2ff843c08429d4a38755899425e49e1019beab0af765766a668884673819768a21a5b01caa0498f4875997a6d08b47048038cbcc0

    • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe

      Filesize

      1.9MB

      MD5

      c067642ee75a78d31964d7951c0673ee

      SHA1

      6eda0e0896e1517e10dd8a4e4202704860b0514a

      SHA256

      4824cf3c52d037cccdaf9d7422b393a7e0a769b27b92c899484048cef7876bad

      SHA512

      3ae2af350df6806ed7127fe2ff843c08429d4a38755899425e49e1019beab0af765766a668884673819768a21a5b01caa0498f4875997a6d08b47048038cbcc0

    • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe

      Filesize

      1.9MB

      MD5

      c067642ee75a78d31964d7951c0673ee

      SHA1

      6eda0e0896e1517e10dd8a4e4202704860b0514a

      SHA256

      4824cf3c52d037cccdaf9d7422b393a7e0a769b27b92c899484048cef7876bad

      SHA512

      3ae2af350df6806ed7127fe2ff843c08429d4a38755899425e49e1019beab0af765766a668884673819768a21a5b01caa0498f4875997a6d08b47048038cbcc0

    • memory/1104-151-0x0000000005880000-0x000000000591C000-memory.dmp

      Filesize

      624KB

    • memory/1104-153-0x0000000003230000-0x000000000323A000-memory.dmp

      Filesize

      40KB

    • memory/1104-150-0x0000000003180000-0x0000000003212000-memory.dmp

      Filesize

      584KB

    • memory/1104-148-0x0000000000400000-0x0000000000438000-memory.dmp

      Filesize

      224KB

    • memory/1104-149-0x0000000005E30000-0x00000000063D4000-memory.dmp

      Filesize

      5.6MB

    • memory/1476-132-0x0000000000FF0000-0x0000000001262000-memory.dmp

      Filesize

      2.4MB

    • memory/1476-133-0x0000000007440000-0x0000000007462000-memory.dmp

      Filesize

      136KB

    • memory/2992-141-0x0000000006C00000-0x0000000006C1A000-memory.dmp

      Filesize

      104KB

    • memory/2992-140-0x0000000007D90000-0x000000000840A000-memory.dmp

      Filesize

      6.5MB

    • memory/2992-139-0x0000000006710000-0x000000000672E000-memory.dmp

      Filesize

      120KB

    • memory/2992-138-0x0000000006110000-0x0000000006176000-memory.dmp

      Filesize

      408KB

    • memory/2992-137-0x00000000059E0000-0x0000000005A46000-memory.dmp

      Filesize

      408KB

    • memory/2992-136-0x0000000005AE0000-0x0000000006108000-memory.dmp

      Filesize

      6.2MB

    • memory/2992-135-0x0000000002DF0000-0x0000000002E26000-memory.dmp

      Filesize

      216KB

    • memory/4800-146-0x0000000000F20000-0x0000000001114000-memory.dmp

      Filesize

      2.0MB

    • memory/5100-160-0x0000000000400000-0x00000000007E4000-memory.dmp

      Filesize

      3.9MB

    • memory/5100-163-0x0000000000400000-0x00000000007E4000-memory.dmp

      Filesize

      3.9MB

    • memory/5100-162-0x0000000000400000-0x00000000007E4000-memory.dmp

      Filesize

      3.9MB

    • memory/5100-165-0x0000000000400000-0x00000000007E4000-memory.dmp

      Filesize

      3.9MB

    • memory/5100-164-0x0000000000400000-0x00000000007E4000-memory.dmp

      Filesize

      3.9MB

    • memory/5100-166-0x0000000074F20000-0x0000000074F59000-memory.dmp

      Filesize

      228KB

    • memory/5100-167-0x00000000713C0000-0x00000000713F9000-memory.dmp

      Filesize

      228KB

    • memory/5100-168-0x0000000000400000-0x00000000007E4000-memory.dmp

      Filesize

      3.9MB

    • memory/5100-169-0x0000000074F20000-0x0000000074F59000-memory.dmp

      Filesize

      228KB