Analysis

  • max time kernel
    144s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240705-en
  • resource tags

    arch:x64arch:x86image:win7-20240705-enlocale:en-usos:windows7-x64system
  • submitted
    25-08-2024 21:03

General

  • Target

    2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe

  • Size

    10.4MB

  • MD5

    1c1323cf707fafdf1f7ef48598069e2e

  • SHA1

    ee7860750369521fafa184488a55140192af367b

  • SHA256

    2b6866b392a0a2622228b6321166371f6c14fc8ff654bef06324a595075c2455

  • SHA512

    f8b62663e0295554de07b511fa4d94398d4ba2c2bc2724d773cd8450a01c7602e4daa0b5b65e37d049783fe7e7517171662b6093eac174dc32fc1e3f5c5162ff

  • SSDEEP

    6144:E+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:E+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yejbzaol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofybivhg.exe" C:\Windows\SysWOW64\yejbzaol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yejbzaol binPath= "C:\Windows\SysWOW64\yejbzaol\ofybivhg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yejbzaol "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yejbzaol
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • 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:2720
  • C:\Windows\SysWOW64\yejbzaol\ofybivhg.exe
    C:\Windows\SysWOW64\yejbzaol\ofybivhg.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2872
    • 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:2972

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.1MB

    MD5

    d47232e98d4c8be510d0a5cf1a735751

    SHA1

    5b9e0a1205a6385f6fd94fea2b4a5221734af5e3

    SHA256

    c7a36e9d6e63f570fb0e34bbe5e97c8eef9e0e59445806a9b3f9c440d0ab48a1

    SHA512

    00f708885c4461611bf5dcd562204aa71d03554c679377e939fe0e56e0e8ddeb0f8e6c9cf2f7c348ea1e4007a5f7377efda6ff301560306aff4d6d8cfb9a7c81

  • memory/2872-12-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/2972-7-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2972-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2972-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2972-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2972-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3032-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

  • memory/3032-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/3032-14-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/3032-13-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB