Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-01-2025 22:07

General

  • Target

    2025-01-21_67f32bf9c47840d904272b41465fe81a_mafia.exe

  • Size

    10.2MB

  • MD5

    67f32bf9c47840d904272b41465fe81a

  • SHA1

    ccd07693c4a9e4905824ab263abbcfa9c70d44fa

  • SHA256

    f6321d75861cf235291e85b0737a1dccca1dde649cfe674b48c65cfa6c45b96c

  • SHA512

    26bb5fde8bfeffdbb1a4e34b6d38320b9f034fc2dc15b39bbdcde7d79e9ad20cddbb7a62ec91d0a3bbd7bb6e0ea643115f59a89fe4717ac0a0a9ea340c7e6011

  • SSDEEP

    49152:4qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:4qtYc3

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
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-21_67f32bf9c47840d904272b41465fe81a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_67f32bf9c47840d904272b41465fe81a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\syzvvnin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\egzkrznd.exe" C:\Windows\SysWOW64\syzvvnin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create syzvvnin binPath= "C:\Windows\SysWOW64\syzvvnin\egzkrznd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_67f32bf9c47840d904272b41465fe81a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description syzvvnin "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start syzvvnin
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4824
    • 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:3376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5064 -s 784
      2⤵
      • Program crash
      PID:1824
  • C:\Windows\SysWOW64\syzvvnin\egzkrznd.exe
    C:\Windows\SysWOW64\syzvvnin\egzkrznd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_67f32bf9c47840d904272b41465fe81a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2140
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2140 -s 516
      2⤵
      • Program crash
      PID:1240
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 5064 -ip 5064
    1⤵
      PID:2492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2140 -ip 2140
      1⤵
        PID:4828

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        bffd8c5db26d1fd2963ee819b9a960f5

        SHA1

        45c78c56eec3ff3ea6e3c03fd26e64fd6829b8ea

        SHA256

        d4859bd62d301b90904668ef4f9e3588d2e20c8f5f510874cf692998f642b91a

        SHA512

        0c279f9873676616f6ae56acfe7ff544eac43ab37afa14333042e57d3a0533bbf7974fa5f80698db32c31cd2bd9f412dab27fe2d4be2c8084f53ec20a83f94a0

      • memory/980-8-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/980-14-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/980-15-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/2140-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/5064-1-0x0000000002DD0000-0x0000000002ED0000-memory.dmp

        Filesize

        1024KB

      • memory/5064-2-0x0000000003210000-0x0000000003223000-memory.dmp

        Filesize

        76KB

      • memory/5064-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5064-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5064-12-0x0000000003210000-0x0000000003223000-memory.dmp

        Filesize

        76KB

      • memory/5064-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB