Analysis

  • max time kernel
    152s
  • max time network
    156s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/11/2022, 15:58

General

  • Target
    HSBC Payment Advice.exe
  • Size 1.2MB
  • Sample221107-tegppshaam
  • SHA256 e6d6f7cf5ab4892455617b818579f8123d6f32eb13adb93c4feca7c6caa352ff
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • formbook

Campaign
  • phy3

Decoy
  • Tvj0O75mlxE365S6gD6AG12Sxg==

  • wGIiVFyRiJ6S

  • F3YzekQVFUh2JYoRHAHdgrM=

  • g5TOA8yvh32nE9isZA==

  • bicunGFTpt9H+ZvC

  • U1Cf+cXTraPJ/suPvIGIbKo=

  • FkPeWTIX8j5hTzN+iCQ=

  • m2RFDgVOQLIFMg==

  • KgZfyJyEEUFqnKrOk5zdOA==

  • LeQYgP6chajMc+n8c0b96g6ZBhNo

  • /HUsLzwu3wotQjN+iCQ=

  • t/NivVTj8NEFLw==

  • SJMKaz8owPkVMw==

  • sQJcOF3pvm6S

  • Uwg6mnxjNzBekG4Yk5zdOA==

  • DL7ZTfGyFUmbkj4=

  • 9oYt+QRTQLIFMg==

  • Y5cbS8iTPKL4LA==

  • E1gJevOmlMG5ofYOlf1A

  • fnS5/l0NeytjTjN+iCQ=

Signatures

  • Formbook

    Formbook is a data stealing malware which is capable of stealing data.

  • Checks QEMU agent file 2 TTPs 2 IoCs

    Checks presence of QEMU agent, possibly to detect virtualization.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Loads dropped DLL 1 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Suspicious use of NtCreateThreadExHideFromDebugger 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
  • Suspicious use of SetThreadContext 3 IoCs
  • Drops file in Program Files directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Modifies Internet Explorer settings 1 TTPs 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 24 IoCs
  • Suspicious behavior: MapViewOfSection 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:760
    • C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.exe
      "C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.exe"
      2⤵
      • Checks QEMU agent file
      • Loads dropped DLL
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • Suspicious use of SetThreadContext
      • Drops file in Program Files directory
      • Suspicious behavior: MapViewOfSection
      • Suspicious use of WriteProcessMemory
      PID:1516
      • C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.exe
        "C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.exe"
        3⤵
        • Checks QEMU agent file
        • Checks computer location settings
        • Suspicious use of NtCreateThreadExHideFromDebugger
        • Suspicious use of NtSetInformationThreadHideFromDebugger
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: MapViewOfSection
        • Suspicious use of AdjustPrivilegeToken
        PID:1220
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\SysWOW64\netsh.exe"
      2⤵
      • Suspicious use of SetThreadContext
      • Modifies Internet Explorer settings
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: MapViewOfSection
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1824
      • C:\Program Files\Mozilla Firefox\Firefox.exe
        "C:\Program Files\Mozilla Firefox\Firefox.exe"
        3⤵
          PID:4972

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          System.dll

          • Path C:\Users\Admin\AppData\Local\Temp\nstAB2A.tmp\System.dll
          • Size 11KB
          • SHA256 f004c568d305cd95edbd704166fcd2849d395b595dff814bcc2012693527ac37
          • MD5 SHA1 SHA512 SSDEEP

          memory/760-162-0x0000000002A10000-0x0000000002AE0000-memory.dmp

          memory/760-161-0x0000000002A10000-0x0000000002AE0000-memory.dmp

          memory/760-149-0x0000000007E40000-0x0000000007FE1000-memory.dmp

          memory/1220-146-0x0000000000401000-0x0000000001654000-memory.dmp

          memory/1220-155-0x0000000001660000-0x0000000001760000-memory.dmp

          memory/1220-138-0x0000000000400000-0x0000000001654000-memory.dmp

          memory/1220-140-0x0000000001660000-0x0000000001760000-memory.dmp

          memory/1220-141-0x0000000001660000-0x0000000001760000-memory.dmp

          memory/1220-142-0x00007FFD60350000-0x00007FFD60545000-memory.dmp

          memory/1220-143-0x00000000775B0000-0x0000000077753000-memory.dmp

          memory/1220-144-0x0000000000400000-0x0000000001654000-memory.dmp

          memory/1220-145-0x0000000000400000-0x000000000042E000-memory.dmp

          memory/1220-154-0x00000000775B0000-0x0000000077753000-memory.dmp

          memory/1220-147-0x0000000000400000-0x0000000001654000-memory.dmp

          memory/1220-148-0x000000001D810000-0x000000001DB5A000-memory.dmp

          memory/1220-153-0x00007FFD60350000-0x00007FFD60545000-memory.dmp

          memory/1220-151-0x000000001D690000-0x000000001D6A0000-memory.dmp

          memory/1516-150-0x0000000004F00000-0x0000000005001000-memory.dmp

          memory/1516-135-0x00007FFD60350000-0x00007FFD60545000-memory.dmp

          memory/1516-136-0x00000000775B0000-0x0000000077753000-memory.dmp

          memory/1516-139-0x00000000775B0000-0x0000000077753000-memory.dmp

          memory/1516-134-0x0000000004F00000-0x0000000005001000-memory.dmp

          memory/1516-133-0x0000000004F00000-0x0000000005001000-memory.dmp

          memory/1824-156-0x0000000000910000-0x000000000092E000-memory.dmp

          memory/1824-157-0x0000000000420000-0x000000000044D000-memory.dmp

          memory/1824-158-0x0000000000E80000-0x00000000011CA000-memory.dmp

          memory/1824-159-0x0000000000A30000-0x0000000000ABF000-memory.dmp

          memory/1824-160-0x0000000000420000-0x000000000044D000-memory.dmp