Analysis

  • max time kernel
    150s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2024 21:46

General

  • Target

    f46546906c3dcd4743698822d7caa78b_JaffaCakes118.exe

  • Size

    12.4MB

  • MD5

    f46546906c3dcd4743698822d7caa78b

  • SHA1

    db1a2370650583b6a8e4db11e7c9392ec57c1fd9

  • SHA256

    229ed2d5a7975a4e8ed4d256b164708b0ba3f9051384c73e6a0061d810ddbb45

  • SHA512

    73c1dd0a4496411a9b0696a9afcbbd266ef3cc84f4b8e601b40d75e2321fd6158ea3e5950af3a6ff98c81ba021139364d3e12ba3076d6b1654052322c8edc079

  • SSDEEP

    12288:ABgw6aInPRfmCzFT+PUvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv:pw6tHRT+P

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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) 1 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\f46546906c3dcd4743698822d7caa78b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f46546906c3dcd4743698822d7caa78b_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2888
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vmcuyujl\
      2⤵
        PID:2564
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\swzvhqnj.exe" C:\Windows\SysWOW64\vmcuyujl\
        2⤵
          PID:2944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vmcuyujl binPath= "C:\Windows\SysWOW64\vmcuyujl\swzvhqnj.exe /d\"C:\Users\Admin\AppData\Local\Temp\f46546906c3dcd4743698822d7caa78b_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2504
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vmcuyujl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2728
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vmcuyujl
          2⤵
          • Launches sc.exe
          PID:2884
        • 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:2544
      • C:\Windows\SysWOW64\vmcuyujl\swzvhqnj.exe
        C:\Windows\SysWOW64\vmcuyujl\swzvhqnj.exe /d"C:\Users\Admin\AppData\Local\Temp\f46546906c3dcd4743698822d7caa78b_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2408
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2416

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        f43b60fec4a720300f9b930d726383cc

        SHA1

        592bd2f3d3af0375c86decee14b6c8cec89dac2b

        SHA256

        947f123f7b8c30f86d3643066285f3e94e1da2c0691edcc35f1866e4dad010bc

        SHA512

        2e72f6a426717fd5a2fd87e689f90225e87d50b0e8f6383e3e2bd4cc78d320c71080f1fb40f278c84f0a5f31556eb71e3877129563c4fe53e2df965b1532a03c

      • memory/2408-10-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

      • memory/2408-18-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/2408-11-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/2416-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2416-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2416-12-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2416-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2416-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2416-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2888-8-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2888-7-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/2888-3-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/2888-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2888-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

        Filesize

        1024KB