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
    24-06-2024 20:13

General

  • Target

    2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe

  • Size

    10.8MB

  • MD5

    9b9054b8fa3af489629b5d432c7293bb

  • SHA1

    908b4692abe5046dbd8634922d75da4d50dd0756

  • SHA256

    77c4f8d22224f19fe811c10c45c71dad6ff55c2b65d2cec7ccd35a94cc63285c

  • SHA512

    2b2cb1c2bb5adf7e1590e229dcb39ddca20bbc0fe7d45c48ff432af3d842d8dbaeb053a768e855c1b6d2a74b300c87814b485d4fd5598f5e43071ee5ef5999b3

  • SSDEEP

    6144:I+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:I+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-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tjhvaikg\
      2⤵
        PID:3612
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ddcithor.exe" C:\Windows\SysWOW64\tjhvaikg\
        2⤵
          PID:4616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tjhvaikg binPath= "C:\Windows\SysWOW64\tjhvaikg\ddcithor.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:856
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tjhvaikg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2068
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tjhvaikg
          2⤵
          • Launches sc.exe
          PID:208
        • 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:1676
      • C:\Windows\SysWOW64\tjhvaikg\ddcithor.exe
        C:\Windows\SysWOW64\tjhvaikg\ddcithor.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1492
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1300

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\ddcithor.exe
        Filesize

        13.5MB

        MD5

        e2dfe4be1853e376d5ff920edc1a875d

        SHA1

        5b4d18dac05e1cc47b67d4c400fdb32536197933

        SHA256

        a7573d30bfb12c805076dba3c0846e4509c04c37c015660961073f05ee903762

        SHA512

        03a65efee4d76df6813fccb47e2521a3f10141711c5e28af0676df3ea52c5bbc4746e649d25daa73e8ede9337a1021ecb7bd1f0e77f2c7fb178fc2102adc217f

      • memory/1300-13-0x0000000000A70000-0x0000000000A85000-memory.dmp
        Filesize

        84KB

      • memory/1300-9-0x0000000000A70000-0x0000000000A85000-memory.dmp
        Filesize

        84KB

      • memory/1300-15-0x0000000000A70000-0x0000000000A85000-memory.dmp
        Filesize

        84KB

      • memory/1492-12-0x0000000000400000-0x000000000051A000-memory.dmp
        Filesize

        1.1MB

      • memory/1492-10-0x0000000000400000-0x000000000051A000-memory.dmp
        Filesize

        1.1MB

      • memory/4480-1-0x00000000005E0000-0x00000000006E0000-memory.dmp
        Filesize

        1024KB

      • memory/4480-3-0x0000000000400000-0x0000000000415000-memory.dmp
        Filesize

        84KB

      • memory/4480-7-0x0000000000400000-0x0000000000415000-memory.dmp
        Filesize

        84KB

      • memory/4480-6-0x0000000000400000-0x000000000051A000-memory.dmp
        Filesize

        1.1MB