Analysis

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

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

General

  • Target

    2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe

  • Size

    10.5MB

  • MD5

    5d2e671530ea99e8d6211a1c38fdbbbe

  • SHA1

    26e4576726810b824d299e6b36bf33cbdffa4643

  • SHA256

    6a6941267ae0c7a98e3854814083c17dfe43da830acd256a74ac072d8a00a7e8

  • SHA512

    3ea51bf4ff4ae6ab2aa965f8b4e67379efa8a6c6d7b0e7079deb05b9b526e77605a2d4208b0b9970ad58a247ef7419938f7a422aa163321602670c95cb2b4a54

  • SSDEEP

    6144:A+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:A+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.

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iyofxbdf\
      2⤵
        PID:992
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tsielhm.exe" C:\Windows\SysWOW64\iyofxbdf\
        2⤵
          PID:2652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create iyofxbdf binPath= "C:\Windows\SysWOW64\iyofxbdf\tsielhm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1996
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description iyofxbdf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4064
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start iyofxbdf
          2⤵
          • Launches sc.exe
          PID:3456
        • 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
          PID:4372
      • C:\Windows\SysWOW64\iyofxbdf\tsielhm.exe
        C:\Windows\SysWOW64\iyofxbdf\tsielhm.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4124
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4264

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        182262416dbe7164ce66b2584c980409

        SHA1

        18b308155c78b45ae72b18fa151232a156bfdb75

        SHA256

        b12df06b3cd14f1a7ac93224fdf6d9d23a63a7fbe4615b28ba6ea9b9ea413d25

        SHA512

        2d9dced1884012a534219961ea7506d0f1da620c9e084e6d9e28ca52f8386bb66c32bc888c6eccc100f46489f81f483ce15d57e23d1da9db31428c4cbf07d749

      • memory/4124-9-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4124-10-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4124-15-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4264-16-0x0000000000190000-0x00000000001A5000-memory.dmp

        Filesize

        84KB

      • memory/4264-14-0x0000000000190000-0x00000000001A5000-memory.dmp

        Filesize

        84KB

      • memory/4264-11-0x0000000000190000-0x00000000001A5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4608-1-0x0000000000520000-0x0000000000620000-memory.dmp

        Filesize

        1024KB

      • memory/4608-6-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4608-7-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB