Analysis

  • max time kernel
    144s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    21-01-2025 22:13

General

  • Target

    2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe

  • Size

    12.9MB

  • MD5

    6a397c7bc04ae63117f5925e9b9fd54f

  • SHA1

    940657256af629fa51b70bc05779ef0976c63637

  • SHA256

    23be3499b2b9a7e01237488f80243a36b9be5d528a0ec85a717cd4b0104ddbe8

  • SHA512

    4dfb4f3e74ed91757bed613051d5cca3ed2b844e0eb72aa074d8540c01711d18e6707c93d5245f0bc685a2f6b5c3f5af1b75b0df38298f79b3e39312260eac83

  • SSDEEP

    24576:WEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:Pfot

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-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bjsylytv\
      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\hfopyujf.exe" C:\Windows\SysWOW64\bjsylytv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bjsylytv binPath= "C:\Windows\SysWOW64\bjsylytv\hfopyujf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bjsylytv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bjsylytv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2752
    • 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:2028
  • C:\Windows\SysWOW64\bjsylytv\hfopyujf.exe
    C:\Windows\SysWOW64\bjsylytv\hfopyujf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2860
    • 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:2732

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Windows\SysWOW64\bjsylytv\hfopyujf.exe

    Filesize

    12.7MB

    MD5

    a569a606d8f7d78cbc8cc8079d3e3b33

    SHA1

    925c9a3866ff0b43b0094deac3f73dfc85e3dd17

    SHA256

    82ca18b1286b2943b321b0194c74eba2a00ae82a69aed33e30d34ac8dd64217a

    SHA512

    8a26597b4cc34940bf1416748756806604ee9a21d9cfc74c66364d1e6f13ec895c971f6224f0c5b6824163282a10a47ba06b273d34d54ea24a4692062f0eb745

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

    Filesize

    76KB

  • memory/1984-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1984-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1984-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/1984-1-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

  • memory/2732-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2732-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2732-8-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2732-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2732-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2860-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB