mirror of
https://github.com/konstruktoid/hardening.git
synced 2026-04-25 16:55:53 +03:00
[GH-ISSUE #83] [BUG] Konstruktoid hardening on Ubuntu in AWS seems to cause ssm-agent to cease functioning #37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fentonfentonfenton on GitHub (Jul 30, 2020).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/83
Originally assigned to: @konstruktoid on GitHub.
Describe the bug
Apologies for this if you are not an AWS user or anti amazon, but I thought I would raise it incase the issue has been raised before somewhere else
To Reproduce
Run hardening on an AWS ubuntu based AMI either directly on host or via ansible role.
Expected behavior
AWS system manager / AWS Session Manager features work (FYI this can we away to obtain a shell on the box using AWS's SSM protocol(?) rather than using plain old SSH.
Actual behavior
AWS reports that
System (lsb_release -a):
Ubuntu 18.04 etc
Additional context
AWS and Ubuntu Server ship with ssm-agent installed, and a user called
ssm-user- I am trying to debug this to find out which script causes the lack of functionality, but it may take me a while to pin that down.@fentonfentonfenton commented on GitHub (Jul 30, 2020):
https://github.com/konstruktoid/hardening/pull/84 WIP PR
@konstruktoid commented on GitHub (Jul 31, 2020):
Thanks for reporting this @fentonfentonfenton, even though I'm not a customer of AWS I'll try to find a solution.
(PS I got absolutely nothing again AWS or similar services.)
@konstruktoid commented on GitHub (Jul 31, 2020):
Ah, can you verify that
snapis installed?(https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-ubuntu.html#agent-install-ubuntu-tabs)
@konstruktoid commented on GitHub (Jul 31, 2020):
And with snap installed there's an apparmor error.
@konstruktoid commented on GitHub (Jul 31, 2020):
https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-deb.html
@konstruktoid commented on GitHub (Jul 31, 2020):
@github-actions[bot] commented on GitHub (Sep 3, 2020):
This issue is stale because it has been open 30 days with no activity, without any activity this will be closed in 5 days.
@fentonfentonfenton commented on GitHub (Apr 1, 2021):
I forgot to thank you! Thank you 👍