Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/04/2024, 22:49

General

  • Target
    f21b1d37cc4a41eb2dfde780fa798b93_JaffaCakes118.exe
  • Size 11.0MB
  • Sample240415-2rxwfscd81
  • SHA256 202c56cd60883f77bd154c3c45240a558edfe75f8480646e301256383f067b1f
  • MD5 SHA1 SHA512 SSDEEP

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) 1 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f21b1d37cc4a41eb2dfde780fa798b93_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f21b1d37cc4a41eb2dfde780fa798b93_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4020
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tnwlfxjs\
      2⤵
        PID:4520
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cxxeamcu.exe" C:\Windows\SysWOW64\tnwlfxjs\
        2⤵
          PID:3496
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tnwlfxjs binPath= "C:\Windows\SysWOW64\tnwlfxjs\cxxeamcu.exe /d\"C:\Users\Admin\AppData\Local\Temp\f21b1d37cc4a41eb2dfde780fa798b93_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tnwlfxjs "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:388
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tnwlfxjs
          2⤵
          • Launches sc.exe
          PID:1572
        • 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
          PID:716
      • C:\Windows\SysWOW64\tnwlfxjs\cxxeamcu.exe
        C:\Windows\SysWOW64\tnwlfxjs\cxxeamcu.exe /d"C:\Users\Admin\AppData\Local\Temp\f21b1d37cc4a41eb2dfde780fa798b93_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4648
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2296

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            cxxeamcu.exe

            • Path C:\Users\Admin\AppData\Local\Temp\cxxeamcu.exe
            • Size 10.1MB
            • SHA256 7f351b4793446d09281d3ec562f070833680cb47a4a6a55c52cc806bb6bac9c9
            • MD5 SHA1 SHA512 SSDEEP

            memory/2296-8-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

            memory/2296-12-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

            memory/2296-14-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

            memory/2296-15-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

            memory/2296-16-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

            memory/4020-0-0x0000000000400000-0x000000000041F000-memory.dmp

            memory/4020-1-0x00000000009C0000-0x00000000009C1000-memory.dmp

            memory/4020-2-0x00000000009D0000-0x00000000009D1000-memory.dmp

            memory/4020-13-0x0000000000400000-0x000000000041F000-memory.dmp

            memory/4648-6-0x0000000000460000-0x0000000000461000-memory.dmp

            memory/4648-11-0x0000000000400000-0x000000000041F000-memory.dmp