Analysis

  • max time kernel
    144s
  • max time network
    117s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    13-01-2025 19:07

General

  • Target

    2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe

  • Size

    11.7MB

  • MD5

    1129ae360d97b0e86ae5d7e2b0127e01

  • SHA1

    a1e0c7c02e015f03d998707adecefccf48e9268c

  • SHA256

    c327b4ad3c94238bed34499f211255b097a59d5cc7ac6f80f434144ca2e16898

  • SHA512

    035cc69448fda1a436c8f1591610f2e596a67411a6f88897df585d037d57590a18e9f8f0146b15c182d1a24bace2692fa19ca4d3a7708c57dbcda2489117d253

  • SSDEEP

    6144:wLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:lTYe+D2jFu+iZoUFhAz

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 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.

  • System Location Discovery: System Language Discovery 1 TTPs 9 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iyjeosfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kfjbrcec.exe" C:\Windows\SysWOW64\iyjeosfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create iyjeosfe binPath= "C:\Windows\SysWOW64\iyjeosfe\kfjbrcec.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description iyjeosfe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start iyjeosfe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • 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:2780
  • C:\Windows\SysWOW64\iyjeosfe\kfjbrcec.exe
    C:\Windows\SysWOW64\iyjeosfe\kfjbrcec.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:348
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2796

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.9MB

    MD5

    f5c01a6b5e49f9adc0eec20c36d58aba

    SHA1

    4dfcb67f425ee6fcc21e3427c609bdc00bfae347

    SHA256

    022e2b3b3fb5012cd0046da80b2a48eec285e38844aaf2357c1c2da5b2822939

    SHA512

    d36fd0048f4696a32fd63a3e5e16adf42199f19d7cb5fdbf58e1a25f0b664d73423e42eff1d57362456fb9b79a0412cc8e4f96f876a4e797187ae76e8d4e504f

  • memory/348-16-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2556-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2556-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/2556-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2556-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/2796-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2796-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2796-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2796-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2796-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB