Blue Hexagon Blog

Blue Hexagon Labs Identifies Novel “Long-Line” Supply Chain Campaign

Novel sophisticated campaign used five distinct identities to target executive in software development services company as launchpad for supply chain attacks; deep learning-based security platform key to thwarting, analyzing attack


Threat actors know that infiltrating large companies with large IT security budgets is a difficult and complicated endeavor. A more effective approach that is becoming increasingly popular with hackers is to attack these bigger companies indirectly by exploiting weaker links in their partner associations, especially  IT services companies that often have fewer resources to dedicate to cybersecurity programs. These are known as “supply chain” attacks because they exploit trusted organizational relationships as their attack vector.

Our analysis of recent supply chain attacks targeting a software development services organization revealed novel aspects of the campaign that represent a shift in strategy by threat actors that Blue Hexagon has named “Long-Line.” Long-lining is an offshore commercial fishing method whereby a single vessel sets multiple baited hooks suspended from a cable that is miles in length with the intent of catching large, pelagic fish. Long-Line campaigns are carried out by a single threat actor using multiple elements designed specifically to catch high ranking executives within the target organization.  The ultimate goal of a Long-Line attack is to use the compromised organization as a platform for executing supply chain attacks on companies in the outsourcer’s business network. 

Supply chain attacks are on the increase. Symantec reports that such incidents went up by 78% in 2018, and a recent report by endpoint security firm Carbon Black estimates that 50% of all attacks are now targeting supply chains. In one high-profile example that took place in April of this year, Indian IT services company Wipro was targeted by a systematic phishing attack that led to the compromise of internal Wipro IT systems. Hackers operating from within Wipro were then able to target the company’s customers and partners, resulting in the compromise of more than a dozen companies in Wipro’s network. 

Long-Line attacks are insidious and difficult to detect because they occur within the context of an otherwise trusted business relationship. In one attack against this software development organization, however, Blue Hexagon was able to detect the attack in progress using our deep learning platform. What’s more, we were able to determine–for the first time–that these were not multiple discrete attacks from different hacker groups, but a sophisticated supply chain attack originating from a single threat actor.

This analysis, made possible through the use of Blue Hexagon’s deep learning capabilities, is important because it demonstrates a shift in emphasis from a typical phishing campaign that relies on wide distribution to attempt to fool a small number of recipients. Instead, Long-Lining uses a combination of research, design and precise social engineering in an attempt to fool a single individual, often a highly placed executive. The goal is to use the compromised organization as a platform for launching new attacks on other companies. 

Long-Line Attack Analysis  

In the attack on the IT services company, Blue Hexagon found that a single threat actor assumed five distinct identities in carrying out the attack. Each identity was tailored to appear to be a company involved with the target organization, each with a different relationship and in different industries:

  1. An Indian transportation company;
  2. An Indian textile company;
  3. An Indian electrical company; 
  4. An Egyptian transportation company; and,
  5. A construction company based in the UAE.

In each case, the threat actor attempted to entice high level executives, chosen because of their role and apparent relationships to members of the company’s supply chain partners,  into viewing the phishing email by using well-designed subjects and attachment names intended to increase the likelihood that the recipient would open the email and attachment in pursuit of a legitimate business purpose. These included:


  • Request for quotation (“Request for Quotation for Projects,” “RFQ No. 0658/0319,” “RFQ – Order rates,” “RE: [External] RFQ – Order rates”);
  • Request for bank details ([“Re: Fw: Bank Confirmation”, “Fwd: Bank Swift/TT Copy”, “Bank Instruction”]); 
  • Request for proposal (“RFP INVAC/OW/SOW/2019/037 – Supply & Installation“); and,
  • Inquiry (“INQ No. 0658/0319”).


  • “Request for Quotation for Projects.doc”
  • “INQ No. 06580319.doc”
  • “RFQ – Order rates.doc”
  • “Scope of Work.xlsx”
  • “RFQ No. 06580319.doc”
  • “ORDER LIST .doc”

Killchain Analysis

In each case, the attack vector was a document carrying an exploit that allowed the threat actor to execute code on the victim’s system. Once the victim clicked on the attachment, the following steps in the cyber killchain unfolded, leading to infection:

1. Download Agent Tesla Malware

  • The Victim’s system downloads different windows executables hosted on the domain 
  • What follows is a Blue Hexagon similarity graph (Figure 5) on the different malware executables that were served by the domain This similarity graph projects how our HexNet deep learning models views these executables in the embedding space. This graph helps us understand the similarities and dissimilarities between each threat sample from this campaign. Each point on the x and y axis represents a particular threat sample. A sample’s similarity to itself is by definition high — shades of blue indicate the level of dissimilarity; darker denotes increased dissimilarity.
Similarity Matrix between the different malware samples served by the domain
Figure 5: Blue Hexagon Similarity Matrix
Similarity Matrix between the different malware samples served by the domain
  • This PCA (Principal component analysis) graph in Figure 6 is another representation of how our HexNet deep learning models view the malicious executables. The three clusters means that all the malware samples can be categorized into 3 distinct malware families based on their feature vectors. This is important because threat actors go to great lengths to defeat traditional signature and heuristic defense mechanisms, but this example demonstrates how difficult it is to evade our deep learning-powered platform. 
Identification of 3 distinct malware families using the malware samples feature vectors
Figure 6: PCA Graph
Identification of 3 distinct malware families using the malware samples feature vectors

The domain impersonates the Vietnamese website for a leading Japanese metal hoses and expansion joints company. See the difference between Figure 7 (real website) and Figure 8 (impersonated website).

NMAP scan results for Vietnamese domain
Figure 9: NMAP Scan Results for the Domain

It is important to note that the Vietnamese government does not publish registrar information for domains registered in Vietnam. The threat actors behind this were aware of this and used it to their advantage. (Note: at time of blog publication, the server is no longer serving up binaries listed in this blog)

2. Execute Agent Tesla to Steal Sensitive Information 

Agent Tesla can be categorized as an information stealer as it is capable of stealing sensitive information including, but not limited to, the following categories of software:

  • Web Browsers: Google Chrome, Mozilla Firefox, Opera, Chromium, Chrome Plus by Maple Studio, Yandex, Orbitum 
  • Email Clients: Mozilla Thunderbird, Microsoft Outlook, Aerofox Foxmail, IncrediMail, Qualcomm Eudora
  • FTP Clients: WinSCP, SmartFTP, Filezilla, WS_FTP by IPSwitch, CoreFTP by FTPWare 
  • Internet Download Manager 

Upon execution, Agent Tesla exfiltrates information to an attacker-controlled SMTP server.

3. Exfiltrate Stolen Data to an Attacker-Controlled SMTP Server

The exfiltrated data is sent via encrypted SMTP messages to on SMTP Port 587 over TLS. 

  • Exfiltrates the stolen data to, an SMTP mail server controlled by the threat actor. 
  • The domain is a web-based private email hosting provided by NameCheap. 
Attacker exfiltrated data is sent to private email hosting controlled by threat actor
Figure 10:
NameCheap Private Email Hosting Service
  • Analyzing malware data exfiltration via network traffic capture in Wireshark.
Figure 11: malware data exfiltration via network traffic capture in Wireshark.

Why TCP Port 587 over TCP Port 25?

The malware chooses TCP Port 587 for SMTP message submission over TCP Port 25 as Port 587 supports explicit encryption of the SMTP messages with TLS Encryption by issuing the STARTTLS command.


Despite the drastic measures taken by the threat actor to impersonate various identities, the Blue Hexagon Deep Learning Platform, powered by our HexNet architecture, was successful in identifying and blocking the Long-Line attack in progress. Further analysis allowed our team to then attribute the attack to a single threat group. We are in the process of conducting further analysis to attempt to identify the country of origin and whether the threat group is a known entity or a new group.

Our initial analysis leads Blue Hexagon to conclude that Long-Lining is a novel twist on a typical phishing campaign. It is also far more sophisticated than a spearphishing campaign that may target a single individual, but lacks the level of persistence and design sophistication that characterizes Long-Lining.

Indicators of Compromise 

SHA-256 Hashes of Weaponized Documents Carrying Exploits

  • 008937e9e926856a1865ed54f1057248f23bf11aa98abbaba29e9204e11e6bc2 (Construction)
  • 64a5725c659947d7a653e6f541a207556b4fb0d27d9557e14fc15e6215d18e7f (Textile)
  • bbab4012436a8a9d374b99708fcd1c5bc828bb0d361ecb62cbadd05bc3d56d7e (Electrical) 
  • 71ba3ca0808f19024cd7ad366f29ac5245723266a7b054aea442f2afb47651b5 (Transportation)
  • f9e57f61bc36e09b2acecb201ae0aea93dd70cf077b7528e33c51fbd66ee1f43 (Transportation)
  • f31d04d7eb3fd452f5d489b76f76ec446dddcf1b4ad0a5eb7e4231bbc826a079 (Transportation)
  • ff5ac63ad6eb95cf5ff4bd5bc777de0dc222180cc1584eacbfcd112b61987b99 (Transportation)

SHA-256 Hashes of Malware Executables

  • 00bb1055cdfc6a6c12d89c21e64e166286d99445e50b46de4e50c26c39d192e8
  • 01bc8f4e0743a7cafa27bc78bb3b361859f44665c09445f992459b87a586546d
  • 026e31650dc83fe2ca31e30bdf374a827713bad718dba4300e9b3fe08172a2f3
  • 06e3beae5bdd477f658f11013df015aa65f971ea5be2238856022eba7d3112dd
  • 0d383dd7f9549e3701a1f66c733e517535f19169097544ce351fefaff891ac12
  • 0dab6b41dff727e0c125acbaf4ad0178aaa83ed296eb86db37c247c66a812dd0
  • 14c3cdd7c6c9ae50bc5255b5eed0071be57d52a7ca591aef7fd2bb7c46d96f94
  • 15d146230295f84218f2d9be9fcdf4e4a389a10c2447a204b610b847f8965073
  • 1d0c9787750c6a75fc37c230b236e4eb51b576a9cf9791c82e58f81d30234c63
  • 1fb1826e069264d8df8571c3274dbb43fe000dd60aa8607ac7db188c01a9a562
  • 289842d8d028ee18ccd0d9318493b4d00c849ad190739662e3b6190e9c025675
  • 2e26a8e1f9c83af9e0161b562ebac7f90a109ec67b6dfa4ab88073a2c275d3a6
  • 33bf3d73b3e76f5efa7483ea7f500c76066843fb47f318a8df722174d5eb8a9b
  • 356a6daf648863944c6271679224e0ffdd5aab47b8c65ec04da8c3d3299297d8
  • 3a43c45d7052f1dfa244b28904de13fe902bcc345a42ec7f424a518887255281
  • 4f34d2395c35c8f66771e8b19dc813e3d52c44f0a3e54164c8b92d254eafa3ce
  • 5e99e7ace8f4ac1b583e2b12f3bac71c3106a294925bbff492a088e12d28f45b
  • 5ffa092304491cad053a6793a54daf6328ec2706e7bf1a60d8ff3710f8f926a9
  • 603a3ff8dd0d0445fb92fbcbee9279eff7fb05f1cd9279cc22a59b7983f7827d
  • 609509bf65cab328d48997e41733c35ac793e61a1cb1683a8ff210c8ab520911
  • 610f12a71928f9b527e468e776666d2e796e965a8d1ad5893ccd7332213fd4a4
  • 66de1d5562cd86fbbe220b6aa656e4007eaf24d70cce84375f618a49ed3c82df
  • 6da145d6d8e4089afa5240f2d93cc771d12ce3d87ff6e18cf4a28dd4b4dcf3c0
  • 71af0424aa1f6f68b5c8d5ab75043e6f7f3579fc10b48da775f22773b76f636a
  • 73538fcdfada6b58a8a6d0cbc8fe1afde6bc29ba5a2e9102ee36235c7fe1bf1f
  • 760ae5d84878fd012842d2ddc395c7874ba1e447a18615e33ffcad36e3106559
  • 7a26accecee3a7a715e9eb4d6808d06cee5b745e510a554063b8c0ef391db698
  • 7a8d36303fe605cd43dabdfe6213ff5c409a2dfcfe5a2b3d903f1805ca47a577
  • 7ba4f37beea2e8b16799c48b83503ba062a62b58019a7b9d36c062fa0c5097ff
  • 7ed8c89a639c5dba05a2123bfeeb544c88909e5d92e17d81696bb5ae7020def9
  • 87ab222ef9b8801e0cd2920e75c732a8f038688491d2c8021876ef94269cdb94
  • 8a4d57f2432dcd3e1013980b237d2b1311bb68a43b4941d77ebc70e094b4e570
  • 8a540443e02a2fd7ce520f138957b64811747fc8008a5e005b9aa89322e01e85
  • 8b72bd2fea02280d6b45d451866e2f61a2fd4e947d0ce03a347c908d7e9aa3ba
  • 8bce6bd558ec38ce50143927f84034bd7358bdce2a493b7a48b0aa724493d35c
  • 8f49150262ad2b31b90f957b33710f37a517634caa91fd4293f7b8d018a9fd69
  • 906e7ebb82f4746a3bc8dedd5cac0b0daaaf9c7467bf136117bf90f2f2a603b0
  • 9195cd57d3ce0f44ebce310c868452e71d7c4423e24ee2d12db9d8f14a37df63
  • 9634e2a41f6fee0a7cfaeed0dd5a7094ddbd385ca4b66a2c56ff204d054f1b60
  • 9751f6db2ba32d0c1c55003e2d3d60fa9f683bc5339960755793ea481004657c
  • 9a91490479a07a98de5a3fc2f6f8b5f6e545d65647ff30c673d0e2c57bde30cb
  • 9b18e574b7c1f676f9a34b6aeb35f019eb193967e0306be8bf01bc1c47162d5d
  • a025c434836e9f9f920e5e77737f855f3aad1f13b8ed892c68caa6d4e163fa48
  • a16caec9591c8f670d2c68f1305de981a9d017790b6d1c958d2969f9b8974958
  • a6c64f7b1e98aa5539b1c079ace6609d34031131066fb170eefd719f71b4794c
  • aca01c2daf712f484430279c430a7ea646fac7b2008b812fb32f0e364ebb3c32
  • acf92c9f291f411a966c5ab46879dbe05e94e05393b4bfb5e04b85cf54f3df4c
  • adbefa63a50cc49ee601975c3a3c7c2c93465354d055f670743ef4222e1ebaa4
  • b0c9a5ab243b36c45fec8a0c57c5254b6ddfd1203a1862c30b26f1e431d6b1e4
  • b331ea2d01f7573e5cdbbb44941873dcf753adbd894742c29e80517cda97b5c1
  • b4a18e850861e6a7fe53a0b269927e730fc34cc8a7e0a40120e9b8de84ade1c9
  • be4222576f857e4b265e0a470456c3cf4cbf26b6ad6f8c9fb4d5ab114da762e2
  • c1eda1b06f518cea8e54ded7d88438f8b6f5414cf32f5e5b7e30ca359e907ef6
  • c8eda51050c5aa0cb08026abaa5035581d3432f7b12367017977899f8ec58f7d
  • cc1e96d780f78086122b3742bc84b11c01aa30357d0e1de428bc9dad7bb80114
  • cdb857b620ce6fec9bfa8f1061aa9479d2063671ec150db24aa10233ecf8dd2f
  • d01cf69a1420081a4655d8ee70163487c3b056d2f1c759a7ab1b46bf8276ab61
  • d2a316bf2f2fc7af33c82a34a19d77228a5e0da16996b0c555c151af7dd620cf
  • d7e3768872daf4af579da1bee108ed9953e6ec17565ebce36b05a275c0f10f9f
  • d9274c7fcfec45f768ee707398cbbaf4693efcb32ea4c25b9ec638b24b5c1297
  • da788997285c16fcf6c2ae89ec60485dcec521be9b5b547cd33e6359511dba5a
  • da7fbdc3b9f75883b0529f5cb6beb65642f69b710613cabc965c2397a83614a6
  • e18afab23704adfc2c5011f5bff96a659792a78e5856f833734ac0dc8847a5d5
  • e879457772911ab1e803ed850761178c748510d51d325db9a936e9a7ff0f72f7
  • e8aefe21e053c175a531b99cae21709b96b84b0a3b96bb768ad710b13944f7b4

SMTP Mail Server used for Data Exfiltration