News for hackers. Stuff that matters.
Re:Denonia: The First Malware Specifically Targeting AWS Lambda by Something1234 on Friday April 08, 2022 @12:01AM (#30953202)
Lambda runs a custom compiled interpreter with different flags set than most distros. In this case they don't compile python with optimizations on, which is weird, and they link an old version of SQLite.
Re:Denonia: The First Malware Specifically Targeting AWS Lambda by guiriduro on Friday April 08, 2022 @04:53AM (#30954798)
I'd guess they'd run in firecracker VMs (a technology they open sourced), targeting faster starts. And perhaps turning off the compile time flags also results in a faster-starting binary, which is the more important metric for serverless, maybe at the expense of slower code/longer runtime, excepting that runtimes are on average quite short anyway.
Re:Denonia: The First Malware Specifically Targeting AWS Lambda by jamesfinlayson on Sunday April 10, 2022 @07:10PM (#30982683)
Ah true - the longer the execution time the more money they make.
Re:Denonia: The First Malware Specifically Targeting AWS Lambda by jamesfinlayson on Friday April 08, 2022 @01:07AM (#30953510)
I guess the different flags makes sense - the VMs Lambda runs on run Amazon Linux as far as I understand. But turning off optimisations does seem strange.