Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-12-2024 18:27

General

  • Target

    2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe

  • Size

    15.0MB

  • MD5

    5142ee56e615a7f396f56d97f28d87ef

  • SHA1

    359af34bdc8073a6326d96208cb629a9120ccb3e

  • SHA256

    2edc2f82a1b10e3d2439c10ac90e8fb2a170840524cb5b04ef96b7ec4a7774d8

  • SHA512

    1d3e92fb559c4c25d878e94a882fb20d6dc683c647d51d51d49ebf9e1d0b1a68e1a191360f296fa32a35ed3e03524eb27281f854fa36d345d9d965e9c280bb73

  • SSDEEP

    6144:RXxZveEydmxZnXNMRaTuMUifWLKxNMMMMMMMbgb:RXzvvygxZnXxr+mxNMMMMMMMbg

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 1 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 7 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 18 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gqhhuquw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rasramqh.exe" C:\Windows\SysWOW64\gqhhuquw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gqhhuquw binPath= "C:\Windows\SysWOW64\gqhhuquw\rasramqh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gqhhuquw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gqhhuquw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1300
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:3404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4576 -s 1048
      2⤵
      • Program crash
      PID:2408
  • C:\Windows\SysWOW64\gqhhuquw\rasramqh.exe
    C:\Windows\SysWOW64\gqhhuquw\rasramqh.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    PID:432
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4576 -ip 4576
    1⤵
      PID:4480

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      11.9MB

      MD5

      00d34eb7efcca72f4f84ef357ba63b05

      SHA1

      e4eaf5dbaf133e2c1ccc3d5dfc4d00a06f2926ab

      SHA256

      5f894f8f19e336f82d0aef3424d96173696a6a6a9312503697a01bd48dd66c55

      SHA512

      e7505aed5e1fa932514b158565c1aab99e3b95fbceb4c3786fa935c996c6b1e3527c109dfe7c5f061b3f8784706187e3b60537a766d20bc5cbd5c3bddefeda24

    • memory/4576-1-0x0000000000760000-0x0000000000860000-memory.dmp

      Filesize

      1024KB

    • memory/4576-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

    • memory/4576-3-0x0000000000400000-0x0000000000415000-memory.dmp

      Filesize

      84KB

    • memory/4576-7-0x0000000000400000-0x0000000000481000-memory.dmp

      Filesize

      516KB

    • memory/4576-9-0x0000000000400000-0x0000000000415000-memory.dmp

      Filesize

      84KB

    • memory/4576-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB