Analysis

  • max time kernel
    144s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    04-06-2024 10:37

General

  • Target

    9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe

  • Size

    142KB

  • MD5

    9484d5c263bbb436280dc8c8c1872e44

  • SHA1

    a7e0a7a440f7fdb7f59bfc02a3fd5a01391e9786

  • SHA256

    4a65362140edf6266596e78a1b3617381d9e6654310eee10aa5206e364b73bc7

  • SHA512

    230774d0112ea62d6821d9672a8906be05251018e9ef193c5695c72afd409e8b718e95c7d4645b2317346d2484852ab47157a4b046ba10aa2114af8ff816c99a

  • SSDEEP

    3072:NO8/FLfg16rzTkYfiL2+jKfgi4m5nuGFU6W6WNE6b3A:X9rzwFLnKP46uC

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jbedkxnf\
      2⤵
        PID:848
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iuoskuqe.exe" C:\Windows\SysWOW64\jbedkxnf\
        2⤵
          PID:2192
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jbedkxnf binPath= "C:\Windows\SysWOW64\jbedkxnf\iuoskuqe.exe /d\"C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jbedkxnf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2828
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jbedkxnf
          2⤵
          • Launches sc.exe
          PID:2256
        • 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:2772
      • C:\Windows\SysWOW64\jbedkxnf\iuoskuqe.exe
        C:\Windows\SysWOW64\jbedkxnf\iuoskuqe.exe /d"C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2620
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2500

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        fbc84ee266e597bb05e271cbfdd8d3ad

        SHA1

        6be0f398c357c00decdd7f2092861df8a3f56d73

        SHA256

        f5ebbc53e0a3534c8ef0e74b4e7822bbafe71a585b34600a0ae16d08c3d97792

        SHA512

        93d12b2d12c82cf1419af3a288f85132b8658bbfa2ddf082a5a2e18c3a0f3e0480179383fa8cd4c2b4829c8451156a9bff064c55989d444342b6f986c1060eba

      • memory/1700-0-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/1700-1-0x0000000000290000-0x0000000000291000-memory.dmp

        Filesize

        4KB

      • memory/1700-2-0x0000000000320000-0x0000000000321000-memory.dmp

        Filesize

        4KB

      • memory/1700-6-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/2500-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2500-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2500-8-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2500-13-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2620-7-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/2620-14-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB