After really some helpful data from flopunctro I was able to gather some info that added up to what I have already here is what I got so far :
Where the username/password is send hashes via UDP port 53 instantly (ONLY in case of password login not via pub/priv key)
which matches the strings pattern that was captured on they files found though they are not added in plain text rather obfuscated using xor like this :
Code:
#define EXTLIB_KEY {75,119,52,68,67,56,56,65,88,97,48,121,83,99,98,114,77,90,115,98,98,53,87,80,97,50,77,55,71,112,116,112,0}
#define EXTLIB_FILE_NAME {100,3,89,52,108,22,75,46,59,10,67,0}
#define SERVER {121,71,1,106,114,11,12,111,105,87,0,87,102,87,0}
#define super_password {19,47,108,60,0,94,111,44,2,24,92,0}
#define super_password_pr_mask {19,47,108,60,0,94,111,44,2,24,92,33,48,2,22,0}
#define super_password_ver_mask {19,47,108,60,0,94,111,44,2,24,92,33,37,6,16,0}
#define LCH_SUBSTR_1 {97,19,93,34,37,93,74,36,54,21,26,0}
#define LCH_SUBSTR_2 {97,17,93,42,36,93,74,49,42,8,94,13,121,0}
#define LCH_SUBSTR_3 {97,20,91,42,45,93,91,53,49,15,87,83,0}
#define LCH_SUBSTR_4 {97,22,65,48,43,93,86,53,49,2,89,13,42,73,0}
#define LCH_SUBSTR_5 {97,39,88,33,34,75,93,97,44,24,64,28,121,0}
#define LCH_SUBSTR_6 {42,21,87,32,38,94,95,41,49,11,91,21,62,13,13,2,60,40,0,22,23,67,32,40,24,72,0}
#define LCH_SUBSTR_7 {41,30,78,0}
#define LCH_SUBSTR_8 {34,25,82,43,0}
#define LCH_SUBSTR_9 {37,18,64,0}
#define LCH_SUBSTR_10 {29,18,70,55,42,87,86,97,104,79,4,87,103,78,87,92,120,42,66,0}
#define LIB_LENGTH {11,14,11,15,15,11,13,12,14,13,26,3,4,3,19,0}
3- This is not a privilege escalation exploit rather a "Maintaining access" exploit
4- Ips found associated with this so far if you want block/report them are :
5- the best route if you got this files reported is OS reload and force password changes afterwards as most if not all services login credentials are affected by this
6- it is suspected *till now* that super_password variable is used to spawn a reverse shell to attacker IP if he telnet to ssh port and pastes the super password though this has not been confirmed yet , hope somone can confirm/deny this .
* While in process of fixing you can prevent ongoing password leaks by prohibiting access to outgoing port 53 for only a predefined IP lets say google ns 8.8.8.8
Hope this helps anyone working on this .