New York Tech Media
  • News
  • FinTech
  • AI & Robotics
  • Cybersecurity
  • Startups & Leaders
  • Venture Capital
No Result
View All Result
  • News
  • FinTech
  • AI & Robotics
  • Cybersecurity
  • Startups & Leaders
  • Venture Capital
No Result
View All Result
New York Tech Media
No Result
View All Result
Home Cybersecurity

Malicious Python packages employ advanced detection evasion techniques

New York Tech Editorial Team by New York Tech Editorial Team
November 22, 2021
in Cybersecurity
0
Malicious Python packages employ advanced detection evasion techniques
Share on FacebookShare on Twitter

JFrog researchers have discovered 11 malicious Python packages on PyPI, the official third-party package repository for Python, which have been collectively downloaded over 41,000 times.

Malicious Python packages detection

This is not the first time that malicious packages have been successfully introduced into online package repositories and will surely not be the last. What’s worrying the researchers is that attackers are using increasingly advanced techniques to avoid detection.

Detection evasion techniques

The malicious packages – importantpackage, important-package, pptest, ipboards, owlmoon, DiscordSafety, trrfab, 10Cent10, 10Cent11, yandex-yt, and yiffparty – steal Discord tokens, establish a reverse shell over HTTP giving the attacker full control over an infected machine, or collect user information and send it via DNS tunneling to a server run by the attackers.

Another technique that some of these malicious Python packages use to evade network-based detection is to use the Fastly content delivery network (CDN) to disguise communications with the C2 server as a communication with pypi.org.

“The PyPI infrastructure is hosted on the Fastly CDN. This hosting uses the Varnish transparent HTTP proxy to cache the communication between clients and the backend. The traffic first goes into a TLS terminator for decryption, so the Varnish proxy can inspect the contents of the HTTP packet. The proxy analyzes the HTTP headers from the user’s request and redirects the request to the corresponding backend according to the Host header. The process then repeats itself in the reverse direction, allowing the malware to imitate duplex communication with PyPI. As a result, the command & control (C2) session is encrypted and signed with a legitimate server certificate, making it indistinguishable from communicating with legitimate PyPI resources,” JFrog researchers explained.

The attackers are also using the TrevorC2 framework to implement a masked command and control client. “Using this framework, the client contacts the server in a way that looks similar to standard website browsing, making the traffic even more obscure,” they noted.

Finally, there is indication that, at least in some cases, the attackers are exploiting dependency confusion to succeed in their intent. (Apiiro recently released Dependency Combobulator, a modular and extensible open source toolkit to detect and prevent dependency confusion attacks.)

“While this set of malicious packages may not have the same ‘teeth’ as our previous discoveries, what’s notable is the increasing level of sophistication with which they are executed. It’s not reaching for your wallet in broad daylight – but there is a lot more subterfuge going on with these packages, and some of them may even be setting up for a follow-up attack after the initial reconnaissance, instead of running a highly-compromising payload to start,” the researchers concluded.

As always, developers are advised to be extra careful when downloading packages from public repositories.

Credit: Source link

Previous Post

Iran’s Top Tier Airline Mahan Air Hit by Cyberattack

Next Post

Everything and nothing has changed: Why VC innovation and funding in digital health need to target Medicaid populations

New York Tech Editorial Team

New York Tech Editorial Team

New York Tech Media is a leading news publication that aims to provide the latest tech news, fintech, AI & robotics, cybersecurity, startups & leaders, venture capital, and much more!

Next Post
Everything and nothing has changed: Why VC innovation and funding in digital health need to target Medicaid populations

Everything and nothing has changed: Why VC innovation and funding in digital health need to target Medicaid populations

  • Trending
  • Comments
  • Latest
Meet the Top 10 K-Pop Artists Taking Over 2024

Meet the Top 10 K-Pop Artists Taking Over 2024

March 17, 2024
Clubhouse will soon let you pin links to the top of rooms

Clubhouse will soon let you pin links to the top of rooms

October 23, 2021
10 Raunchy Movies on Netflix You Won’t Regret Watching

10 Raunchy Movies on Netflix You Won’t Regret Watching

May 20, 2024
Panther for AWS allows security teams to monitor their AWS infrastructure in real-time

Many businesses lack a formal ransomware plan

March 29, 2022
Zach Mulcahey, 25 | Cover Story | Style Weekly

Zach Mulcahey, 25 | Cover Story | Style Weekly

March 29, 2022
How To Pitch The Investor: Ronen Menipaz, Founder of M51

How To Pitch The Investor: Ronen Menipaz, Founder of M51

March 29, 2022
Startups On Demand: renovai is the Netflix of Online Shopping

Startups On Demand: renovai is the Netflix of Online Shopping

2
Robot Company Offers $200K for Right to Use One Applicant’s Face and Voice ‘Forever’

Robot Company Offers $200K for Right to Use One Applicant’s Face and Voice ‘Forever’

1
Menashe Shani Accessibility High Tech on the low

Revolutionizing Accessibility: The Story of Purple Lens

1

Netgear announces a $1,500 Wi-Fi 6E mesh router

0
These apps let you customize Windows 11 to bring the taskbar back to life

These apps let you customize Windows 11 to bring the taskbar back to life

0
This bipedal robot uses propeller arms to slackline and skateboard

This bipedal robot uses propeller arms to slackline and skateboard

0
Asaf Wiener Challenges The Idea That Slowing AI Development Will Make Cybersecurity Safer

Asaf Wiener Challenges The Idea That Slowing AI Development Will Make Cybersecurity Safer

September 16, 2026
corporate practice of medicine

When Business Growth Starts to Influence Clinical Decisions

September 10, 2026
man using a computer

AI Is Easy to Try. Making It Work Is Harder.

September 9, 2026
Kesewi works to a two-word standard: think simple.

One Concept, One Yes: The Studio That Stopped Offering Options

September 8, 2026
FINQ’s Autonomous Ranking Engine Produces 23.51% and 23.83% Since Inception as the S&P 500 Returns 11.61%

FINQ’s Autonomous Ranking Engine Produces 23.51% and 23.83% Since Inception as the S&P 500 Returns 11.61%

September 7, 2026
Blackstone Backs Huskeys With $27M Series A as Security Teams Struggle to Control the Modern Network Edge

Blackstone Backs Huskeys With $27M Series A as Security Teams Struggle to Control the Modern Network Edge

September 2, 2026

Recommended

Asaf Wiener Challenges The Idea That Slowing AI Development Will Make Cybersecurity Safer

Asaf Wiener Challenges The Idea That Slowing AI Development Will Make Cybersecurity Safer

September 16, 2026
corporate practice of medicine

When Business Growth Starts to Influence Clinical Decisions

September 10, 2026
man using a computer

AI Is Easy to Try. Making It Work Is Harder.

September 9, 2026
Kesewi works to a two-word standard: think simple.

One Concept, One Yes: The Studio That Stopped Offering Options

September 8, 2026

Categories

  • AI & Robotics
  • Benzinga
  • Cybersecurity
  • FinTech
  • New York Tech
  • News
  • Startups & Leaders
  • Venture Capital

Tags

AI AI QSRs AI security Allseated Automat-it AWS B2B marketing Business CISO CISO Whisperer Collaborations Companies To Watch Cybersecurity Enterprise AI Entrepreneur Fetcherr Finance FINQ Fintech Funding Announcement Hi Auto Impala Investing Investors investorsummit israelitech Leaders Mate Security Metaverse Mindset Minnesota omri hurwitz Perion PointFive PR QSR Real Estate start- up startupnation Startups Startups On Demand Tech Tech leaders Unlimited Robotics VC
  • Contact Us
  • Privacy Policy
  • Terms and conditions

© 2024 All Rights Reserved - New York Tech Media

No Result
View All Result
  • News
  • FinTech
  • AI & Robotics
  • Cybersecurity
  • Startups & Leaders
  • Venture Capital

© 2024 All Rights Reserved - New York Tech Media