Analysis

  • max time kernel
    145s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    01-05-2023 15:41

General

  • Target

    file.exe

  • Size

    303KB

  • MD5

    531df55984e2b66ad9f0dbd639de601e

  • SHA1

    dc9d0df60d45c19e668e99a39946d1d39a5d9a09

  • SHA256

    e3ffa663eeaa0eeda2b5cb06d094cb847f6520df57385c5d7fe5e49d01c99c8f

  • SHA512

    1a2029171755e8c7f4f374af5544eef317a0d1635272991b7535f4406a99b4ef5d70985602fd85c8b9eb40de2215c81be496157821f78a013cea74ad2848e72b

  • SSDEEP

    3072:MuFL7HO/Wc2L/rIUpqfM/FqdAt/XOM5TJDTnmhd+:xFL7HQ2LrI7fg2AtXJnmv+

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

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 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 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).

  • Modifies data under HKEY_USERS 2 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\owfapaal\
      2⤵
        PID:1996
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zltqwjpn.exe" C:\Windows\SysWOW64\owfapaal\
        2⤵
          PID:1736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create owfapaal binPath= "C:\Windows\SysWOW64\owfapaal\zltqwjpn.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1352
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description owfapaal "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start owfapaal
          2⤵
          • Launches sc.exe
          PID:388
        • 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:780
      • C:\Windows\SysWOW64\owfapaal\zltqwjpn.exe
        C:\Windows\SysWOW64\owfapaal\zltqwjpn.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1116
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:1476

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        ae55c05898706f9b79f607eec080459b

        SHA1

        862b2183fa470a9c49a40f14ace691106a0c7a61

        SHA256

        037c5e439fa70fce474414855a83b309deb270281b63a9d1b3c301189a153d7d

        SHA512

        2632dac5ab35a2800e8b1874618f872266eb97dcafc5e653a7d44184f0e7c92440ee2e8842fc4cdd662057534b70691301b057373ad4deeb05c8671f0ad33bc8

      • C:\Windows\SysWOW64\owfapaal\zltqwjpn.exe

        Filesize

        12.9MB

        MD5

        ae55c05898706f9b79f607eec080459b

        SHA1

        862b2183fa470a9c49a40f14ace691106a0c7a61

        SHA256

        037c5e439fa70fce474414855a83b309deb270281b63a9d1b3c301189a153d7d

        SHA512

        2632dac5ab35a2800e8b1874618f872266eb97dcafc5e653a7d44184f0e7c92440ee2e8842fc4cdd662057534b70691301b057373ad4deeb05c8671f0ad33bc8

      • memory/1116-66-0x0000000000400000-0x0000000000A5C000-memory.dmp

        Filesize

        6.4MB

      • memory/1476-68-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1476-63-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1476-62-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1476-64-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1476-69-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1476-70-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1476-72-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1496-59-0x0000000000400000-0x0000000000A5C000-memory.dmp

        Filesize

        6.4MB

      • memory/1496-58-0x0000000000400000-0x0000000000A5C000-memory.dmp

        Filesize

        6.4MB

      • memory/1496-56-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB