1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788
| ┌──(kali㉿kali)-[~] └─$ sudo nmap -sT -sV -sC -O -p21,22,25,53,80,110,111,139,143,445,631,993,995,2049,3306,5432,6379,8080,27017,34114,34329,41559,43004,49357 192.168.56.121 Starting Nmap 7.94 ( https://nmap.org ) at 2023-07-01 11:48 EDT Nmap scan report for 192.168.56.121 Host is up (0.00030s latency).
PORT STATE SERVICE VERSION 21/tcp open ftp vsftpd 3.0.2 | ftp-syst: | STAT: | FTP server status: | Connected to 192.168.56.106 | Logged in as ftp | TYPE: ASCII | No session bandwidth limit | Session timeout in seconds is 300 | Control connection is plain text | Data connections will be plain text | At session startup, client count was 3 | vsFTPd 3.0.2 - secure, fast, stable |_End of status |_ftp-anon: Anonymous FTP login allowed (FTP code 230) 22/tcp open ssh OpenSSH 6.6.1p1 Ubuntu 2ubuntu2 (Ubuntu Linux; protocol 2.0) | ssh-hostkey: | 1024 02:df:b3:1b:01:dc:5e:fd:f9:96:d7:5b:b7:d6:7b:f9 (DSA) | 2048 de:af:76:27:90:2a:8f:cf:0b:2f:22:f8:42:36:07:dd (RSA) | 256 70:ae:36:6c:42:7d:ed:1b:c0:40:fc:2d:00:8d:87:11 (ECDSA) |_ 256 bb:ce:f2:98:64:f7:8f:ae:f0:dd:3c:23:3b:a6:0f:61 (ED25519) 25/tcp open smtp Postfix smtpd |_ssl-date: TLS randomness does not represent time |_smtp-commands: typhoon, PIPELINING, SIZE 10240000, VRFY, ETRN, STARTTLS, ENHANCEDSTATUSCODES, 8BITMIME, DSN | ssl-cert: Subject: commonName=typhoon | Not valid before: 2018-10-22T19:38:20 |_Not valid after: 2028-10-19T19:38:20 53/tcp open domain ISC BIND 9.9.5-3 (Ubuntu Linux) | dns-nsid: |_ bind.version: 9.9.5-3-Ubuntu 80/tcp open http Apache httpd 2.4.7 ((Ubuntu)) |_http-title: Typhoon Vulnerable VM by PRISMA CSI | http-robots.txt: 1 disallowed entry |_/mongoadmin/ |_http-server-header: Apache/2.4.7 (Ubuntu) 110/tcp open pop3 Dovecot pop3d |_pop3-capabilities: TOP RESP-CODES UIDL SASL STLS PIPELINING CAPA AUTH-RESP-CODE | ssl-cert: Subject: commonName=typhoon/organizationName=Dovecot mail server | Not valid before: 2018-10-22T19:38:49 |_Not valid after: 2028-10-21T19:38:49 |_ssl-date: TLS randomness does not represent time 111/tcp open rpcbind 2-4 (RPC | rpcinfo: | program version port/proto service | 100000 2,3,4 111/tcp rpcbind | 100000 2,3,4 111/udp rpcbind | 100000 3,4 111/tcp6 rpcbind | 100000 3,4 111/udp6 rpcbind | 100003 2,3,4 2049/tcp nfs | 100003 2,3,4 2049/tcp6 nfs | 100003 2,3,4 2049/udp nfs | 100003 2,3,4 2049/udp6 nfs | 100005 1,2,3 43189/tcp6 mountd | 100005 1,2,3 47958/udp mountd | 100005 1,2,3 49357/tcp mountd | 100005 1,2,3 58024/udp6 mountd | 100021 1,3,4 41979/tcp6 nlockmgr | 100021 1,3,4 43004/tcp nlockmgr | 100021 1,3,4 56771/udp nlockmgr | 100021 1,3,4 57546/udp6 nlockmgr | 100024 1 34114/tcp status | 100024 1 42529/udp6 status | 100024 1 51309/tcp6 status | 100024 1 58257/udp status | 100227 2,3 2049/tcp nfs_acl | 100227 2,3 2049/tcp6 nfs_acl | 100227 2,3 2049/udp nfs_acl |_ 100227 2,3 2049/udp6 nfs_acl 139/tcp open netbios-ssn Samba smbd 3.X - 4.X (workgroup: WORKGROUP) 143/tcp open imap Dovecot imapd (Ubuntu) |_ssl-date: TLS randomness does not represent time |_imap-capabilities: more STARTTLS LITERAL+ IMAP4rev1 post-login have listed LOGIN-REFERRALS OK capabilities Pre-login ENABLE LOGINDISABLEDA0001 IDLE SASL-IR ID | ssl-cert: Subject: commonName=typhoon/organizationName=Dovecot mail server | Not valid before: 2018-10-22T19:38:49 |_Not valid after: 2028-10-21T19:38:49 445/tcp open netbios-ssn Samba smbd 4.1.6-Ubuntu (workgroup: WORKGROUP) 631/tcp open ipp CUPS 1.7 | http-robots.txt: 1 disallowed entry |_/ |_http-server-header: CUPS/1.7 IPP/2.1 | http-methods: |_ Potentially risky methods: PUT |_http-title: Home - CUPS 1.7.2 993/tcp open ssl/imap Dovecot imapd (Ubuntu) |_imap-capabilities: more AUTH=PLAINA0001 IMAP4rev1 post-login have listed LOGIN-REFERRALS OK capabilities Pre-login ENABLE ID IDLE SASL-IR LITERAL+ |_ssl-date: TLS randomness does not represent time | ssl-cert: Subject: commonName=typhoon/organizationName=Dovecot mail server | Not valid before: 2018-10-22T19:38:49 |_Not valid after: 2028-10-21T19:38:49 995/tcp open ssl/pop3 Dovecot pop3d | ssl-cert: Subject: commonName=typhoon/organizationName=Dovecot mail server | Not valid before: 2018-10-22T19:38:49 |_Not valid after: 2028-10-21T19:38:49 |_pop3-capabilities: TOP RESP-CODES UIDL SASL(PLAIN) USER PIPELINING CAPA AUTH-RESP-CODE |_ssl-date: TLS randomness does not represent time 2049/tcp open nfs 2-4 (RPC 3306/tcp open mysql MySQL (unauthorized) 5432/tcp open postgresql PostgreSQL DB 9.3.3 - 9.3.5 | ssl-cert: Subject: commonName=typhoon | Not valid before: 2018-10-22T19:38:20 |_Not valid after: 2028-10-19T19:38:20 |_ssl-date: TLS randomness does not represent time 6379/tcp open redis Redis key-value store 4.0.11 8080/tcp open http Apache Tomcat/Coyote JSP engine 1.1 |_http-open-proxy: Proxy might be redirecting requests | http-methods: |_ Potentially risky methods: PUT DELETE |_http-title: Apache Tomcat |_http-server-header: Apache-Coyote/1.1 27017/tcp open mongodb MongoDB 3.0.15 3.0.15 | mongodb-info: | MongoDB Build info | OpenSSLVersion = OpenSSL 1.0.1f 6 Jan 2014 | loaderFlags = | bits = 64 | ok = 1.0 | versionArray | 3 = 0 | 0 = 3 | 1 = 0 | 2 = 15 | allocator = tcmalloc | maxBsonObjectSize = 16777216 | compilerFlags = -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -std=c99 | debug = false | javascriptEngine = V8 | version = 3.0.15 | gitVersion = b8ff507269c382bc100fc52f75f48d54cd42ec3b | sysInfo = Linux ip-10-71-195-23 3.13.0-24-generic | Server status | ok = 1.0 | cursors | timedOut = 0 | totalOpen = 0 | pinned = 0 | totalNoTimeout = 0 | clientCursors_size = 0 | note = deprecated, use server status metrics | process = mongod | uptimeMillis = 356783 | extra_info | heap_usage_bytes = 63081592 | page_faults = 171 | note = fields vary by platform | globalLock | activeClients | writers = 0 | total = 10 | readers = 0 | currentQueue | writers = 0 | total = 0 | readers = 0 | totalTime = 356773000 | connections | totalCreated = 4 | available = 51198 | current = 2 | locks | Database | acquireCount | W = 9 | r = 646 | R = 2 | MMAPV1Journal | acquireCount | w = 22 | R = 3287 | r = 646 | Global | timeAcquiringMicros | r = 1025 | acquireCount | w = 9 | W = 5 | r = 1310 | acquireWaitCount | r = 1 | Collection | acquireCount | R = 669 | dur | journaledMB = 0.0 | timeMs | writeToDataFiles = 0 | prepLogBuffer = 0 | remapPrivateView = 0 | commits = 0 | dt = 3040 | writeToJournal = 0 | commitsInWriteLock = 0 | commits = 28 | compression = 0.0 | writeToDataFilesMB = 0.0 | earlyCommits = 0 | commitsInWriteLock = 0 | writeBacksQueued = false | mem | resident = 67 | supported = true | mappedWithJournal = 320 | bits = 64 | virtual = 515 | mapped = 160 | pid = 1312 | uptimeEstimate = 298.0 | metrics | repl | apply | ops = 0 | batches | totalMillis = 0 | num = 0 | preload | indexes | totalMillis = 0 | num = 0 | docs | totalMillis = 0 | num = 0 | buffer | count = 0 | sizeBytes = 0 | maxSizeBytes = 268435456 | network | readersCreated = 0 | ops = 0 | bytes = 0 | getmores | totalMillis = 0 | num = 0 | cursor | open | noTimeout = 0 | total = 0 | pinned = 0 | timedOut = 0 | ttl | deletedDocuments = 0 | passes = 5 | queryExecutor | scanned = 0 | scannedObjects = 0 | getLastError | wtimeouts = 0 | wtime | totalMillis = 0 | num = 0 | commands | _isSelf | failed = 0 | total = 0 | grantRolesToRole | failed = 0 | total = 0 | findAndModify | failed = 0 | total = 0 | buildInfo | failed = 0 | total = 0 | getPrevError | failed = 0 | total = 0 | copydb | failed = 0 | total = 0 | copydbsaslstart | failed = 0 | total = 0 | explain | failed = 0 | total = 0 | connectionStatus | failed = 0 | total = 0 | shardingState | failed = 0 | total = 0 | rolesInfo | failed = 0 | total = 0 | mergeChunks | failed = 0 | total = 0 | _getUserCacheGeneration | failed = 0 | total = 0 | revokeRolesFromUser | failed = 0 | total = 0 | dropAllUsersFromDatabase | failed = 0 | total = 0 | applyOps | failed = 0 | total = 0 | replSetFreeze | failed = 0 | total = 0 | moveChunk | failed = 0 | total = 0 | group | failed = 0 | total = 0 | logRotate | failed = 0 | total = 0 | currentOpCtx | failed = 0 | total = 0 | dropUser | failed = 0 | total = 0 | writebacklisten | failed = 0 | total = 0 | serverStatus | failed = 0 | total = 2 | replSetSyncFrom | failed = 0 | total = 0 | authSchemaUpgrade | failed = 0 | total = 0 | geoNear | failed = 0 | total = 0 | insert | failed = 0 | total = 0 | connPoolStats | failed = 0 | total = 0 | cloneCollectionAsCapped | failed = 0 | total = 0 | getParameter | failed = 0 | total = 0 | saslContinue | failed = 0 | total = 0 | grantPrivilegesToRole | failed = 0 | total = 0 | usersInfo | failed = 0 | total = 0 | forceerror | failed = 0 | total = 0 | dataSize | failed = 0 | total = 0 | touch | failed = 0 | total = 0 | replSetInitiate | failed = 0 | total = 0 | repairDatabase | failed = 0 | total = 0 | planCacheClear | failed = 0 | total = 0 | availableQueryOptions | failed = 0 | total = 0 | repairCursor | failed = 0 | total = 0 | drop | failed = 0 | total = 0 | copydbgetnonce | failed = 0 | total = 0 | replSetUpdatePosition | failed = 0 | total = 0 | updateRole | failed = 0 | total = 0 | dropAllRolesFromDatabase | failed = 0 | total = 0 | appendOplogNote | failed = 0 | total = 0 | setParameter | failed = 0 | total = 0 | getShardVersion | failed = 0 | total = 0 | top | failed = 0 | total = 0 | setShardVersion | failed = 0 | total = 0 | dropDatabase | failed = 0 | total = 0 | updateUser | failed = 0 | total = 0 | listCollections | failed = 0 | total = 0 | _recvChunkAbort | failed = 0 | total = 0 | replSetHeartbeat | failed = 0 | total = 0 | revokePrivilegesFromRole | failed = 0 | total = 0 | planCacheSetFilter | failed = 0 | total = 0 | replSetStepDown | failed = 0 | total = 0 | getnonce | failed = 0 | total = 0 | createIndexes | failed = 0 | total = 0 | getCmdLineOpts | failed = 0 | total = 0 | planCacheListQueryShapes | failed = 0 | total = 0 | getLog | failed = 0 | total = 0 | replSetElect | failed = 0 | total = 0 | planCacheClearFilters | failed = 0 | total = 0 | clone | failed = 0 | total = 0 | <UNKNOWN> = 0 | parallelCollectionScan | failed = 0 | total = 0 | dbStats | failed = 0 | total = 0 | dropIndexes | failed = 0 | total = 0 | splitChunk | failed = 0 | total = 0 | _migrateClone | failed = 0 | total = 0 | connPoolSync | failed = 0 | total = 0 | saslStart | failed = 0 | total = 0 | delete | failed = 0 | total = 0 | find | failed = 0 | total = 0 | replSetGetRBID | failed = 0 | total = 0 | shutdown | failed = 0 | total = 0 | whatsmyuri | failed = 0 | total = 0 | ping | failed = 0 | total = 0 | mapreduce | shardedfinish | failed = 0 | total = 0 | handshake | failed = 0 | total = 0 | invalidateUserCache | failed = 0 | total = 0 | unsetSharding | failed = 0 | total = 0 | create | failed = 0 | total = 0 | logout | failed = 0 | total = 0 | hostInfo | failed = 0 | total = 0 | count | failed = 0 | total = 0 | replSetMaintenance | failed = 0 | total = 0 | reIndex | failed = 0 | total = 0 | splitVector | failed = 0 | total = 0 | eval | failed = 0 | total = 0 | update | failed = 0 | total = 0 | listDatabases | failed = 0 | total = 1 | planCacheListPlans | failed = 0 | total = 0 | createRole | failed = 0 | total = 0 | cursorInfo | failed = 0 | total = 0 | validate | failed = 0 | total = 0 | resetError | failed = 0 | total = 0 | mapReduce | failed = 0 | total = 0 | isMaster | failed = 0 | total = 0 | listCommands | failed = 0 | total = 0 | _transferMods | failed = 0 | total = 0 | filemd5 | failed = 0 | total = 0 | profile | failed = 0 | total = 0 | replSetGetConfig | failed = 0 | total = 0 | createUser | failed = 0 | total = 0 | collMod | failed = 0 | total = 0 | diagLogging | failed = 0 | total = 0 | medianKey | failed = 0 | total = 0 | dbHash | failed = 0 | total = 0 | driverOIDTest | failed = 0 | total = 0 | replSetReconfig | failed = 0 | total = 0 | _recvChunkStatus | failed = 0 | total = 0 | checkShardingIndex | failed = 0 | total = 0 | aggregate | failed = 0 | total = 0 | _recvChunkCommit | failed = 0 | total = 0 | cleanupOrphaned | failed = 0 | total = 0 | grantRolesToUser | failed = 0 | total = 0 | revokeRolesFromRole | failed = 0 | total = 0 | geoSearch | failed = 0 | total = 0 | getShardMap | failed = 0 | total = 0 | _recvChunkStart | failed = 0 | total = 0 | resync | failed = 0 | total = 0 | getLastError | failed = 0 | total = 0 | cloneCollection | failed = 0 | total = 0 | replSetGetStatus | failed = 0 | total = 0 | planCacheListFilters | failed = 0 | total = 0 | _mergeAuthzCollections | failed = 0 | total = 0 | listIndexes | failed = 0 | total = 0 | authenticate | failed = 0 | total = 0 | features | failed = 0 | total = 0 | shardConnPoolStats | failed = 0 | total = 0 | compact | failed = 0 | total = 0 | fsync | failed = 0 | total = 0 | collStats | failed = 0 | total = 0 | convertToCapped | failed = 0 | total = 0 | renameCollection | failed = 0 | total = 0 | distinct | failed = 0 | total = 0 | replSetFresh | failed = 0 | total = 0 | dropRole | failed = 0 | total = 0 | operation | fastmod = 0 | writeConflicts = 0 | idhack = 0 | scanAndOrder = 0 | record | moves = 0 | storage | freelist | search | requests = 0 | scanned = 0 | bucketExhausted = 0 | document | deleted = 0 | inserted = 0 | returned = 0 | updated = 0 | network | numRequests = 2 | bytesOut = 10166 | bytesIn = 128 | opcountersRepl | command = 0 | insert = 0 | update = 0 | query = 0 | delete = 0 | getmore = 0 | backgroundFlushing | last_ms = 0 | last_finished = 1688255256082 | flushes = 5 | total_ms = 1 | average_ms = 0.2 | host = typhoon.local | opcounters | command = 3 | insert = 0 | update = 0 | query = 1 | delete = 0 | getmore = 0 | uptime = 357.0 | storageEngine | name = mmapv1 | version = 3.0.15 | asserts | msg = 0 | regular = 0 | warning = 0 | rollovers = 0 | user = 0 |_ localTime = 1688255312772 | mongodb-databases: | ok = 1.0 | totalSize = 167772160.0 | databases | 1 | name = local | empty = false | sizeOnDisk = 83886080.0 | 0 | name = credentials | empty = false |_ sizeOnDisk = 83886080.0 34114/tcp open status 1 (RPC 34329/tcp open mountd 1-3 (RPC 41559/tcp open mountd 1-3 (RPC 43004/tcp open nlockmgr 1-4 (RPC 49357/tcp open mountd 1-3 (RPC MAC Address: 08:00:27:2D:C0:8F (Oracle VirtualBox virtual NIC) Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port Device type: general purpose Running: Linux 3.X|4.X OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4 OS details: Linux 3.2 - 4.9 Network Distance: 1 hop Service Info: Hosts: typhoon, TYPHOON; OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel
Host script results: | smb2-security-mode: | 3:0:0: |_ Message signing enabled but not required |_nbstat: NetBIOS name: TYPHOON, NetBIOS user: <unknown>, NetBIOS MAC: <unknown> (unknown) | smb2-time: | date: 2023-07-01T23:48:32 |_ start_date: N/A |_clock-skew: mean: 6h59m55s, deviation: 1h43m55s, median: 7h59m54s | smb-os-discovery: | OS: Unix (Samba 4.1.6-Ubuntu) | Computer name: typhoon | NetBIOS computer name: TYPHOON\x00 | Domain name: local | FQDN: typhoon.local |_ System time: 2023-07-02T02:48:32+03:00 | smb-security-mode: | account_used: guest | authentication_level: user | challenge_response: supported |_ message_signing: disabled (dangerous, but default)
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 29.81 seconds
|