TGViewer
Linux - Reddit Linux - Reddit @r_linux · 1.05K subscribers
Post #42628 77
Security finds my base64 "suspicious"

I wrote a one liner to query my EC2 instances in AWS. I wanted to run it on multiple servers (in multiple AWS accounts) so I decided to run:

ssh servername 'oneliner'

and then do that for each server/account. Problem is, the one liner has single quotes (and they have to be single quotes), so I base64 encoded the command line and then ran:

ssh servername 'echo "aGVsbG8gci9saW51eAo=" | base64 --decode | bash'

And did that for each server. That's not the real base64, but you get the point.

I arrive at my desk this morning to find an email from the security team. Microsoft Defender on those servers flagged my command as "suspicious". Microsoft snitched on me! Security wanted to know if I had indeed run that command and if so why, what was I doing, etc. What I wanted to tell them was you can decode base64 just as well as I can ya idiot. You even see how to do it in the report you got. And if you can see the command then you can see that what I was doing was regular old Linux commands doing regular old aws cli queries. Pound sand! I chose other words though...

I am handy with a Linux command line and I'll be damned if I'm gonna apologize for doing regular Linux things.

https://redd.it/1us02f9
@r_linux
Reddit From the linux community on Reddit Explore this post and more from the linux community
More from @r_linux
  1. Sep 30, 2026AMD boosting AI/LLM performance for Radeon iGPUs as much as 18~23% with Linux 7.4 https://…
  2. Sep 24, 2026Canonical is speeding up Ubuntu's kernel updates because it's drowning in AI-discovered bu…
  3. Sep 11, 2026I realized something about Linux: Close to no reboots necessary! Under Win$lop I had to re…
  4. Aug 28, 2026postmarketOS Linux booted on iPhone 6S https://redd.it/1w0vkmn @r_linux
  5. Aug 28, 2026How did you first get introduced to linux? What is your story on how you became a linux us…
  6. Aug 27, 2026Linux currently has all time high market share at 7.5%, but what exactly happened in the l…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →