Analysis

  • max time kernel
    151s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

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

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 12 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 27 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 use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2768
    • 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:2264
    • 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:3972
      • 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:2096
      • C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe
        C:\Users\Admin\AppData\Local\Temp\Ldfyngljpaccess.exe
        3⤵
        • Executes dropped EXE
        PID:1588
      • 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:1280
    • 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:4996

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

    4280e36a29fa31c01e4d8b2ba726a0d8

    SHA1

    c485c2c9ce0a99747b18d899b71dfa9a64dabe32

    SHA256

    e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359

    SHA512

    494fe5f0ade03669e5830bed93c964d69b86629440148d7b0881cf53203fd89443ebff9b4d1ee9d96244f62af6edede622d9eacba37f80f389a0d522e4ad4ea4

  • 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

    5c8d7c04811896849480954782534fe4

    SHA1

    64ce416250e4f2ff8661b9357adeb65626f28391

    SHA256

    b5c7a064d1425080c6434a5c5014305084e504dfae72752d1fe17a697f75cf39

    SHA512

    45b1161ef0df82642ec2130c2f20ed70c03de4678c99c5edb247d37215f21641e2b6d5849a338f1f1b0dbbc04b13cd2c59816bebbbd73f4e088702d93c769c71

  • 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/1280-165-0x0000000075040000-0x0000000075079000-memory.dmp

    Filesize

    228KB

  • memory/1280-161-0x0000000000400000-0x00000000007E4000-memory.dmp

    Filesize

    3.9MB

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

    Filesize

    3.9MB

  • memory/1280-159-0x0000000000400000-0x00000000007E4000-memory.dmp

    Filesize

    3.9MB

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

    Filesize

    3.9MB

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

    Filesize

    3.9MB

  • memory/1280-166-0x00000000714E0000-0x0000000071519000-memory.dmp

    Filesize

    228KB

  • memory/1280-167-0x0000000000400000-0x00000000007E4000-memory.dmp

    Filesize

    3.9MB

  • memory/1280-168-0x0000000075040000-0x0000000075079000-memory.dmp

    Filesize

    228KB

  • memory/2264-141-0x0000000006C80000-0x0000000006C9A000-memory.dmp

    Filesize

    104KB

  • memory/2264-140-0x0000000007FC0000-0x000000000863A000-memory.dmp

    Filesize

    6.5MB

  • memory/2264-135-0x00000000051C0000-0x00000000051F6000-memory.dmp

    Filesize

    216KB

  • memory/2264-136-0x0000000005930000-0x0000000005F58000-memory.dmp

    Filesize

    6.2MB

  • memory/2264-137-0x0000000006010000-0x0000000006076000-memory.dmp

    Filesize

    408KB

  • memory/2264-138-0x0000000006130000-0x0000000006196000-memory.dmp

    Filesize

    408KB

  • memory/2264-139-0x0000000006780000-0x000000000679E000-memory.dmp

    Filesize

    120KB

  • memory/2768-132-0x0000000000510000-0x0000000000782000-memory.dmp

    Filesize

    2.4MB

  • memory/2768-133-0x0000000005190000-0x00000000051B2000-memory.dmp

    Filesize

    136KB

  • memory/3972-146-0x0000000000740000-0x0000000000934000-memory.dmp

    Filesize

    2.0MB

  • memory/4996-151-0x0000000002B00000-0x0000000002B0A000-memory.dmp

    Filesize

    40KB

  • memory/4996-147-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/4996-148-0x0000000005650000-0x0000000005BF4000-memory.dmp

    Filesize

    5.6MB

  • memory/4996-149-0x00000000050A0000-0x0000000005132000-memory.dmp

    Filesize

    584KB

  • memory/4996-150-0x0000000005140000-0x00000000051DC000-memory.dmp

    Filesize

    624KB