- 0x09 Alibaba - Alibaba Cloud Security
- 0x0A
- 0x0B byte beating - Wuheng Lab
- 0x0C 58 Tongcheng-Security Engineer
- 0x0D Tencent-Xuanwu Lab
- 0x0E 360-Security Engineer
- 0x0F Kuaishou-Security Intern
- 0x10 Huashun Xinan-Security Service Engineer
- 0x11 Qi Anxin Interview Review
- 0x12 JD.com - Security R&D
- 0x13 Anheng interview review
- 0x14 Zhejiang east coast detection
- 0x15 360-Security Engineer Internship
- 0x16 Internship in a certain front-line laboratory
- 0x17 Tencent-Keen Lab Internship
- 0x18 Interview review of a four-character factory
- 0x19 Internship interview review of a four-character factory
- 0x1A A two-character factory interview review
- 0x1B A security company - security researcher
thank you
Thanks PolarPeak
, lalalashenle
, 4ra1n
master for sharing!
0x00 ByteDance - Penetration Testing Intern
Byte’s direct referral from friends is very efficient. I submitted my resume in the morning and made an appointment for an interview in the afternoon. It’s painful to have a naked face. It’s recommended to review it before going.
- Self introduction
- penetration process
- How to deal with the pan-analysis problem of subdomain name blasting in information collection
- How to bypass CDN to find real ip
- What information will you pay attention to in phpinfo
- Have you ever heard about permission maintenance?
- Tell me about a vulnerability that you feel good about, and talk about it
- How to defend against XSS output to href
- The principle of samesite defense against CSRF
- CSRF defense
- How to defend against CSRF in json format
- Browser parsing order and decoding order
- How to bypass the SQL injection of filtering commas
- How to bypass the comma after filtering limit
- fastjson-related vulnerabilities
- Talk about a python-related vulnerability you know (SSTI principle, exploit process, payload-related things) open question and answer
0x01
0x02 Convinced - Vulnerability Researcher Internship
Duration: 15 minutes
- Self introduction
- What did you do during your internship in xx
- Briefly explain the idea of penetration testing
- What role does the protective net play in it?
- Some thoughts on the red team
- Did you do horizontal orientation after taking down the system?
- Is there any research on log4j some time ago? Can you briefly talk about it?
- (following the previous question) What are the ways to bypass obfuscation
- Have you ever understood the memory horse?
- Have you ever heard of tools like Ice Scorpion and Godzilla?
- Did you study any attacks when you were in the attack team, such as researching some tools or magic modification?
- With so many vulnerabilities and attacks, which one is better at?
- Let me talk about the reasons for the formation of shiro deserialization and the utilization chain
- Have you ever learned about some bypass methods? Can you briefly introduce the posture?
- rhetorical question
0x03
0x04 ByteDance - Security Research Intern
one side
Duration: 50 minutes
- The position you applied for is a security research intern. Do you know what we mainly do here?
- Self introduction
- Is there any direction that you want to do now? For example, the code audit you wrote, offensive and defensive drills, and your research direction in school (cryptography) are actually three major directions. Is there anything you want to do now?
- Speaking of code auditing and security research
- Have you reviewed open source frameworks, cms, middleware, etc.
- The interviewer introduced the job content
- I see that there are several internship experiences and project experiences on your resume. Let’s talk about the internship experience first. What do you mainly do in A?
- Talk in detail about what intrusion detection is mainly doing and the problems encountered
- Have you analyzed the reasons for the large number of false positives generated by intrusion detection, and is there a better solution?
- Compared with A, B should be more aggressive, right? There are wars (fog, the interviewer seems to have said so) and code audits. Let’s talk about what you mainly do in B.
- The steps and ideas of reviewing the expression engine
- The audit you mentioned just now sounds similar to the audit of ordinary development. It is done through program flow and documents. Have you audited some projects from the perspective of security?
- How xxe is caused, from the code level
- I see that your resume has a lot of offensive and defensive drill experience, right? Is there any one of these offensive and defensive drill experiences that is more impressive? Pick one and talk about it
- It seems that your attack is more about using weak passwords. Do you have some more skillful methods?
- How is the webshell uploaded by this avatar uploaded?
- What other ways of testing are there? How to bypass it?
- The log4j vulnerability is very popular these two days, have you checked it out?
- The interviewer finally introduces the business
- Questions
One side plus-safety research and development intern
It’s a very strange plot. After the interview, the interviewer told me that there was a base in Beijing and Shenzhen and asked me if I wanted Shenzhen. I said yes. After more than a week, the hr told me that because my interviewer was from Beijing, and then I I chose Shenzhen, so I made another appointment without counting.
Then thank-you letter at noon that day, and then I checked the status on the official website, and the process was
terminated . It turned out that it had become a security research and development, and I originally voted for security research...
Duration: 45 minutes
- Self introduction
- What did the guard net do
- Which layer of processing to do, waf? ids?
- What is the problem encountered, and what is the impressive solution
- How to solve the situation of too many false positives, what rules have been done to solve this situation
- Is his intranet false alarm on the office network or the production network?
- For example, mysql will also execute powershell, how to protect it (I mentioned earlier that many false positives on the intranet are triggered by someone writing a ps script)
- Have you dug the src
- When doing offense and defense, do you have any experience in asset collection?
- A unit may have more than one first-level domain name, how to collect all domain names of a unit, note that it is not a sub-domain name
- Do you have any other asset collection experience?
- In addition to information collection, are there any attack cases in terms of vulnerabilities?
- Talk about sql injection
- how to defend
- How to defend against order by
- When defending with escape characters, what should you do if you encounter database column names or table names with special characters?
- wide byte injection
- do you understand ssrf
- how to fix
- Based on the repair of the black and white list, docker is basically used in production now, and the ip changes at any time, and everything may be different after restarting docker. How to fix it
- fastjson deserialization
- Vulnerabilities of redis
- Mysql privilege escalation
- shiro deserialization
- Log4j is very popular recently, let’s talk about the principle
- Analysis process and principle of jndi
- Is there anything you did better that I didn't ask about, you can talk about it
- General practice introduces the main business of the department
- routine rhetorical question
two sides
Immediately after one side plus, there was an interval of 10 minutes, and the second side started after writing half of the replay on the first side
Duration: 25 minutes
- Talk about a proud and impressive experience in offensive and defensive drills
- What are you good at in the field of security?
- What is generally reviewed, java? python?
- Do you understand csrf, how to fix it
- What is the audit process like when you get the code of the java system?
- How to defend and repair sql injection in java system
- What does the browser do when a domain name is entered in the browser to access
- A system's login page, what loopholes may usually appear
- Do you understand cloud security?
- Have you ever developed security tools, such as waf or scanners?
- Conventional introduction business
- routine rhetorical question
0x05 Chaitin Technology-Security Service Engineer
one side
Duration: 30 minutes
- Self introduction
- Has web penetration testing ever been practiced?
- Talk about the principle of sql injection
- Have you ever understood the cause of sql injection from the code level (if the code level refers to the sql statement, the answer is yes)
- If you don’t understand xss, do you understand the principle of xss from the code level
- Which one is more familiar with owasp top10 vulnerabilities
- Talk about how to defend against sql injection
- How does sql injection bypass filtering
- I asked if xx was a target when defending the net, and whether he has made any research and judgment on the behavior of the attacking team
- The content of the work when protecting the network in xx, have you ever done research and judgment on traffic packets and data packets?
- The role played during the school’s offensive and defensive drills, the main work content, the ideas of the penetration test, and the results (this question is quite detailed, specific to the assigned tasks, whether the host computer or domain controller has been taken down, the form and duration of the offensive and defensive drills) time to talk)
- I usually play a lot of ctf, what are the results?
- Will you usually pay attention to some novel vulnerabilities, will you do code audits, such as Shiro vulnerabilities, etc. Have you ever reproduced vulnerabilities?
- Do you know anything about phishing emails?
- What is the current direction of study
- Finally, introduce the talent demand
- Questions
two sides
Duration: 34min
- Self introduction
- Which language do you prefer to learn code auditing? which language are you good at
- Get a php code for audit, what is the audit process like?
- Are you familiar with the PHP development framework? Such as ThinkPHP these
- If the source code given is the ThinkPHP framework, what is the difference between the audit and the one that does not use the framework, in terms of process or focus?
- What are the native sensitive functions of php, for example, which ones will be searched if you search for keywords?
- Do you understand the deserialization vulnerability?
- When deserializing, when unserialize() deserializes a string, some magic methods of the object will be automatically called. When looking for the deserialized chain, which magic methods can be used as a starting point to find
- Have you ever audited actual projects, such as some open source cms on github
- Can we talk about java auditing?
- Have you ever done a complete project when doing infiltration before, except for ctf
- Can you tell me about the bugs you found and how you found them?
- Are you familiar with vulnerabilities like ssrf? Tell me about the principle and how to use it
- What can we do with ssrf and what effect can we achieve
- In the php environment, how to make the most of ssrf, get the shell or enter the intranet
- How to use the machine in the intranet to request the service in the intranet
- Suggestions for repairing ssrf vulnerabilities, what details need to be paid attention to when repairing
- If you use the whitelist strategy to repair ssrf, take out the target to be accessed from the variable input by the user, what should you pay attention to, because some urls will bypass the whitelist through special characters, what should you pay attention to in the operation of getting variables detail?
- What is the difference between three equal signs and two equal signs in php
- How to find common entry functions in PHP code
- There are some php development frameworks that can help us do some url routing. Are you familiar with these routing methods?
- Introduce variable coverage in PHP
- There is a php program that allows the operation of file inclusion. At the same time, if you want to avoid file inclusion vulnerabilities, what should you pay attention to when writing code?
- Remote file inclusion and local file inclusion, what are the php settings involved in these two
- Can the local file contain the path contained in the restricted file through php configuration (not directly through the code to solve the configuration item)
- PHP, Java code audit is particularly familiar with which vulnerability
- What methods does php have when doing sql injection defense
- java defense against sql injection
- Do you understand the secondary injection of sql? Can you introduce it?
- How to prevent secondary injection when writing code
0x06 Tianrongxin interview review
Duration: 15~20 minutes
- Have you ever done a penetration test in a real-world environment? Have you submitted the src yet?
- How much do you know about anti-kill technology, can the Trojan horse you make pass 360
- ctf score? What kind of questions are you good at?
- What are the results of offensive and defensive drills?
- Do you understand the shiro vulnerability? Tell me about the principle
- Under linux, there is a txt text file with a large number of IP addresses, but there are many duplicates in it, how to quickly remove the duplicates?
- In the intranet penetration, the host authority was obtained through phishing emails, but it was found that the intranet intercepted the outbound traffic of tcp. Let’s talk about how to communicate at this time?
- What is your coding ability? Have you ever done a code audit?
- What direction are you currently interested in?
0x07 Tencent-Security Technology Intern
Duration: 15 minutes
- Self introduction
- Do you understand sql injection? Tell me about the principle of secondary injection
- How to fix the secondary injection
- Do you understand that sql has been injected into waf? If a sql injection filters the information keyword, how to bypass it?
- Redis unauthorized access
- A complete process of penetration testing
- When playing ctf, did you encounter any particularly impressive questions?
- Is there a better way to exploit the file download vulnerability?
- Use the file download vulnerability to find the file name. Specifically, what file name to look for (which files are generally read when reading a file) (in ctf? in actual combat?)
- Command execution vulnerability, what is the better way to deal with http not going online (speak a little more)
- Continuing from the previous question, communicate through tunnels, explain in detail what type of tunnels are passed through, and talk about specific operations
- Vulnerability warning
- Have you ever reproduced a middleware type vulnerability (whether you have reproduced a complete vulnerability)
- What are the main responsibilities of the role played in the school's offensive and defensive drills?
0x08 Xiaopeng Motors-Safety Engineer
Length: 37 minutes
- Self introduction
- Have you ever dug up the src?
- How do you usually learn web penetration? Is there any actual combat? Have you ever successfully found a vulnerability?
- What tools have you been exposed to when doing web penetration
- What is the xxe vulnerability? What is ssrf?
- When playing ctf, what direction are you responsible for?
- Why do you want to engage in information security, how much interest do you have in security, whether you will change careers in the future, or plan to continue working in security
- How do you usually learn about safety? If you were asked to take a new direction (app safety), how much time would you spend on learning, or do you have a direction you want to do?
- Talk about the process of code audit
- How do you usually do code auditing?
- Have you audited open source frameworks and CMS?
- How to judge whether a database is mysql or oracle?
- Types of sql injection and how to use it?
- Talk about the principle and defense ideas of sql injection
- What language did you use for development?
- What framework did you use when doing java development? Can you do java security development?
- Have you ever done Android development?
- Have you ever written a tool in python?
- Which vulnerability is used by msf, and has it successfully rebounded?
- What did you mainly do when protecting the network, and talk about your understanding of security products
- The company now needs someone who can do app security. If you want to do it now, will you learn it, or are you interested, or do you have other things you want to do? If you don’t want to do app security, how much time can you spend learning
- Do you understand intranet penetration? Talk about the idea of intranet penetration
Next, from 0x09~0x0B are the face-to-face scriptures of the same blogger, and they were posted on Niuke. After reading it, I felt very good and then turned around. I will also attach some links to interview questions/study notes of this blogger. Personally I feel very good
CSDN network security - common interview questions
CSDN network security - self-study notes
0x09 Alibaba - Alibaba Cloud Security
one side
- Introduce yourself, talk about the project and extracurricular practice?
- Has the backend API of the WAF management platform been stress tested?
- Has your current paper been published?
- What is your dissertation?
- What is the biggest gain in the ByteDance training camp?
- Is there any meaningful thing to share during graduate school or in daily life?
- What is the time complexity of quicksort?
- What is the fastest case? What is the situation?
- What is the slowest case? What is the situation?
- What solutions are there for hash collisions?
- Programming questions (easy)
two sides
- Introduce yourself?
- We are a password management service here. How much do you know about passwords?
- Do you prefer security research or security R&D in your future plans?
- Are you interested in the security and identity authentication capabilities of PKI on the cloud?
- Tell us about what the ByteDance training camp has done?
- What are the principles and defense schemes of Sql injection?
- What is the principle of WAF protection against SQL injection?
- In this training camp, how did you work together? what is your role What is your contribution? Is there any possibility of improving efficiency?
- Is vulnerability mining a pure tool or some manual work?
- What are the functions of the backend API of the WAF management platform?
- Is there a large amount of data added, deleted, modified, and checked by WAF?
- What problem does Redis solve?
- How to ensure the consistency between redis and db for hot data?
- How is user login authentication done?
- How to protect the security of Token?
- How should the content of Token be designed?
- How to ensure that the data is not tampered with?
- Ideas for SDN vulnerability mining?
- Has the vulnerability mining found an RCE vulnerability?
- Is there any research on stack overflow and heap overflow?
- Tell me about the process of the https protocol?
- How many random numbers are there?
- What if there was one?
- Are you familiar with C++ or C?
- The principle of hash table and conflict resolution? (repeated with one side)
- Why is Mysql query fast?
- Four characteristics of transactions, mysql isolation level?
- Explain optimistic locking and pessimistic locking?
- Have you ever been involved in multi-concurrent programming?
- Have read-write locks and mutex/exclusive locks been used? What's the difference? Why use it?
- There is a software copyright, what software do you make?
- Programming questions (medium)
Three sides (intersecting sides)
- Solution to ByteDance training camp ultra vires problem?
- Do firewalls write their own rules to defend?
- The task is the same, you won the first place, where is your team doing well?
- SDN vulnerability mining project, can you list a more technical vulnerability? Vulnerability principle and mining process?
- The difference between Python2 and Python3?
- What do Xrange and range return?
- The role of database index? Changes in mysql index?
- The database password is weak, how to elevate the privilege after logging in?
- When you write your own project, how do you defend against SQL injection?
- How to conduct CSRF defense?
- What does Token encrypt?
- Check what?
- Why does Token need to be encrypted?
- Is it okay to use plaintext random numbers?
- How to prevent replay attacks?
- What are the security benefits of Docker?
- Personal development direction?
- Where is the current daily practice?
- How long have you been an intern? Why do you want to come to Ali?
0x0A
0x0B byte beating - Wuheng Lab
- Self introduction
- Introduction to Alibaba Internship?
- Venus Star Internship Introduction?
- Is the message queue self-developed or open source? What is your name?
- Task issued? condition monitoring
- How to write the subdomain scanning plugin?
- How to write the fingerprint identification plug-in?
- How does wappalyzer perform fingerprint recognition?
- CSDN's XSS vulnerability mining process?
- The principle of SQL injection?
- What are the current ways to defend against SQL injection?
- Which SQL statements cannot be precompiled?
- How does SQL injection determine the injection point?
- It is known that http://example.com/?id = 1 is mysql, how to get the mysql version?
- What to do when there is no echo? ceye dnslog takeaway
- What about takeout?
- The principle of CSRF?
- How to attack when CSRF uses POST request? hide form
- Not a form?
- AJAX send POST request?
- How many packets will Ajax send a POST request?
- Let you write a CSRF attack plug-in, how do you write it? What modules are included?
- The principle of SSRF?
- Let you write an SSRF plug-in, how do you write it?
- Questions
0x0C 58 Tongcheng-Security Engineer
- Please introduce yourself first
Suppose there is a SQL injection as follows
select * from user where userid = {};
- How to inject in this case?
- There is no return content in the response
- 1s will time out, return directly to the 404 page
- For example, I write a security SDK
How to write the repair of sql injection (pseudo code)
-
- Answer: I tend to use the precompiled way
But if it is pre-compiled, what should I do if R&D may not use it? That is, if he thinks it is too troublesome to change it, can it be more convenient. Because if it is pre-compiled, I have to change every SQL and every query.
-
- A: How about designing a whitelist?
- Then you can roughly write about how to design a whitelist. You can divide it into scenarios, such as SQL injection in what scenario and what scenario, or what operations should be done in the parameters
- How to write xss repair (pseudo-code) Answer: escape with entity
But we have a scenario, you see here where we upload resumes, sometimes it supports uploading html resumes, right. Its own business needs to use html, if you use html entity escape, it will all be escaped , Then the business will collapse if this is the case, right? In this case, how do we write an xss filter, or escape, to solve this scenario similar to a resume. You can think about it, It doesn't matter if you can't write code.
-
- A: Whitelist restriction, blacklist filtering.
- In fact, we do this ourselves. For this situation, we will first make a whitelist of html tags, and the second is a whitelist of events. We will not do blacklists.
RCE repair, how to write (pseudo-code) (java or python command execution) Answer: Whitelist restriction, only the required functions are allowed. But for RCE, I feel that in business scenarios, generally speaking, it is not easy for interviewers to appear : Well, we have appeared a lot. Especially in the operation and maintenance department.
-
- Me: I play a lot of CTF, and the RCE I know is all about PHP. For example, system, popen, etc. Generally speaking, it is directly filtered
Then these functions in PHP are all blacklisted, what else can you do
-
- Answer: string concatenation
$a=p.h.p.i.n.f.o()
- Answer: string concatenation
Have you ever used backticks in php?
-
- Answer: There are also
chr()
functions to bypass - Interviewer: Coding, right?
- How to write the repair of xxe (pseudo-code) Answer: For XXE, I only know its attack method, and I don’t know much about its defense. The attack method is to do XML external entity injection. An attack template can be read file, can be executed as a command
- How does XXE execute commands? Take php as an example, how does XXE execute commands
- The execution of the XXE command requires its server itself to support some special protocols, which is generally not possible
- Answer: There are also
Have you learned about tools for automated code auditing, similar to fortify?
- Answer: I only used the older one, I can't remember (referring to seay)
It doesn't matter, then have you learned about some of his principles and roughly how to do it?
- Me: His principle is generally to locate the position of the function that may have a loophole by matching some special functions
But in this case, the false positives are very high, just like my RCE, if you directly match, many of them are false positives, and many of them are not web-based.
- Me: Another way is to add some custom rules to him
Is there a better way? We can't accept too many false positives.
- Me: I have an idea, after he has matched himself, can he verify it again from the front end at the level of a black box
- For black-box verification, I have a need. First of all, I have to know, first of all, which entry of my function in my php is passed in, right. But this may have been called layer by layer, and it may even be this kind
include()
of , In this case, for me, I don't know which entrances he has affected, what should I do in this situation - Does your school learn the principles of compilation?
- In fact, I think security majors still need to learn the principles of compilation.
- Have you ever engaged in this kind of post-infiltration related to linux?
- Interviewer: For example, this linux has been compromised by me, I want to get more information, such as some horizontal information, have you ever messed with me: I don’t know much about this, but I know a little about windows
- Interviewer: Then you can briefly talk about it. For example, you first compromise a Windows machine, and then I want to do some horizontal movement in this Windows domain. I want to get the authority of this Windows domain. This kind of you How to do it I: Forged bills, silver bills and gold bills Interviewer: How do you do this bill forgery Me: Generally, you can use mimikatz
- Interviewer: What mimikatz captures are the passwords in the memory and some other tickets, so if I am low-privileged, I can’t capture the passwords, or the user passwords I capture are not domain accounts, yes What about a low-privilege account. Because most of the penetration is an application, the application may not have domain authority. I: Raise from low authority
- Interviewer: Then how do you usually elevate rights? I: Generally, there are loopholes in windows. Interviewer: Then use this windows system to elevate privileges. I have a webshell now, so how do I elevate privileges?
- Interviewer: You can do this, you upload a script or exe that escalates privileges, and if you run the exe in webshell, it will elevate the privileges of the web application
- So is there any last thing you want to ask me?
0x0D Tencent-Xuanwu Lab
- Self introduction
- Explain the principle of CSRF
- when to contact web security
- Why learn WEB security
- Which competitions have you participated in?
- you played that role
- Let's talk about deserialization
- Tell me about the major security issues that you have paid attention to recently.
- Then tell me about the best impression you had.
- I see black box testing on your resume, tell me about it
- One is the test of the wallet and the other is the test of the exchange. The wallet is mainly for information leakage, and the level exceeds the authority
- how did you find out
- Information leakage means that webpack can directly view call information such as api, and horizontal overreach means that the construction of josn packages returns user data, account passwords, etc.
- how is it constructed
- Let's move on to the exchange
- (Blockchain related) Talk about the instruction set of receiving parameters involved in the reverse function
- Talk about reentrancy vulnerabilities
- Do you know anything about the biggest blockchain security incident recently?
- OK, so what is your exposure to cryptography?
- I see that your resume has many audits on Defi, so do you have any experience in mining vulnerabilities?
- Well, now let me ask you a question. Think about how to find possible loopholes in the various economic models established in the DEFI project.
- Tell us about your guesses about new types of vulnerabilities that may appear in the future
- There is a game that rewards you for guessing the correct answer
- rhetorical question
0x0E 360-Security Engineer
- Self introduction
- WAF and how to bypass it
- IPS/IDS/HIDS
- cloud security
- How to bypass Security Knight/Safety Dog, etc.
- Gopher expands the attack surface
- Struct2 Vulnerabilities
- UDF privilege escalation
- DOM XSS
- database privilege escalation
- How to play Redis
- Intranet penetration
- container security
- k8s docker escape
- Linux, windows commands: filter files, view process environment variables
- How to get webshell for site library separation
0x0F Kuaishou-Security Intern
one side
- Self introduction
- ask item
- A lot of detailed questions were asked about the project, and it is not convenient to disclose them. The general questions are as follows:
- Did you encounter any problems when working on the project and how to solve them?
- What did you learn from the project?
- Is there any place in the project that has been optimized by yourself?
- Have you done a penetration test on the website?
- Are you familiar with Linux operation, how to see the process PID
- What kind of database have you used? Answer: sqlite, mongodb, the interviewer doesn’t seem to know much about it, so why don’t you ask?
- Why use mongodb
- Do you know ES (Elasticsearch)
- HTTPS establishment process
- How does python manage memory
- The difference between deep copy and shallow copy
- Are python multi-processes, multi-threads, and coroutines useful? Where are they used?
- Can python achieve true multithreading
- Code question: ip sorting
(Just convert it to tuple sorting, remember to convert str to int, otherwise 192 will be greater than 50)
输入:iplist = ["1.1.1.1","192.168.1.110","10.192.2.4","10.50.2.3","10.50.2.10","111.120.12.1","172.18.5.112"]
输出:
1.1.1.1
10.50.2.3
10.50.2.10
10.192.2.4
111.120.12.1
172.18.5.112
192.168.1.110
- How to prevent SQL injection when writing Web API
- How to prevent XSS
- Do you understand the vulnerability of unauthorized access? Have you ever dug the vulnerability of unauthorized access?
- Is there anything I'm good at that I haven't asked yet?
two sides
- ask item
- Which part of the project takes more time
- How to trace the source of the attack
- Give an example of traceability attack
- How to detect webshell
- What is the difference between sql injection in mysql and sqlserver
- Are you looking for a security development position or a security research position?
Code question: mobile phone Jiugongge keyboard, input numbers, output all letter combinations
- Such as input 23, output ['ad','ae','af','bd','be','bf','cd','ce','cf']
- Talk about the role of the DNS protocol, the resolution process
- Security Issues of DNS Protocol
- internship period
0x10 Huashun Xinan-Security Service Engineer
- Self introduction
- Red and blue team experience
- What to Know About the Shiro Vulnerability
- Tell me about your app testing experience
- What framework does xposed use? Have you written app decryption yourself?
- Causes of Xss, SSRF, and SQL, and repair solutions?
- What to do if you Xss hit the background and find that it is from the intranet
- Suppose you are given a target station, what would you do?
- How much do you know about escalation of privileges in linux and windows?
- Will it be process injection?
- How many emergencies have you done?
- Tell me about what you do in an emergency for windows and linux
- Have you used our goby and fofa?
- Will the apk be decompiled?
- How is your python level?
- how did you check your php
0x11 Qi Anxin Interview Review
- MVC framework in detail
- Introduce sql injection in detail
- The difference between xss and csrf
- The principle of csrf and how to prevent it
- Is there anything else you're good at that wasn't asked?
- Tell me about the principle of xxe
- What functions will xxe use
- File upload, explain in detail
- What are the common web containers
- How to bypass the Apache 7.0 file upload blacklist, explain in detail
- What are the symmetric ciphers and asymmetric ciphers in cryptography?
- Is md5 symmetric encryption
- Can apache execute php files
- Which databases to know
- Talk about the principle of deserialization
- What functions will be used for deserialization
- Have you ever fought in xxe
- java multithreading
- What projects did python have and what did they write
- Where did python learn before
0x12 JD.com - Security R&D
- First ask questions based on your resume
- Ask me how one of my projects has been completed, //in the resume
- How about the basics of Java,
- Have you written some tools yourself?
- Have you ever thought about writing a scanner in the future?
- The simple principle of sql injection and how to defend it
- Have you ever learned about deserialization, especially in the direction of Java?
- How much data structure do you remember
- What types of vulnerabilities does src mainly mine?
- How about understanding the MSF framework
- What databases do you mainly understand, and what databases do you mainly learn
- The principle of ssrf and its defense ---> This is in-depth
0x13 Anheng interview review
- What is the parameter for sqlmap to burst out the current library name?
- What are the parameters of the namp detection system ---> uppercase or lowercase
- What is the lowercase o and a of namp?
- What is the specific statement of Boolean blind injection
- The principle of wide bytes
- Does python deserialize
- The difference between get pass and post pass parameters
- What are the request methods of Http
- How to determine the role of CDN and CDN
- How to confirm the real IP of the server
- Describe the information collection process in detail
- How to confirm that a string of codes is base64
- What is the principle of fence password
- How to distinguish between base64 and md5
- What is the default port of oracle
- Where is the mysql administrator password generally placed?
- If the substr() function is disabled, how many replacement functions do you have in mind
- How to get redis, which port, specific statement, specific operation
- How to know the other party's IP through email
- Talk about the same-origin policy
- How to collect webmaster email addresses and more
- What are the dangers of ssrf
- How to defend against ssrf-->A deeper question---->It is recommended to learn more about it
- How to distinguish between two files in Linux (I forgot which two files are specific)
- The MSF framework asks a little deeper
- What are the parsing vulnerabilities and principles of the web container (middleware)
- How to prevent sql injection ---> This question is very deep
0x14 Zhejiang east coast detection
- xss tag
- Tell me about the things you are most proud of in the past few years in college
- Briefly talk about sql injection
- Talk about offset injection
- Tell me about the types of questions you do on ctf
- The ctf questions of the more difficult web questions encountered
- Do you understand xxe? Have you audited it yourself?
- Talk about deserialization
- bypass say
- If you were asked to design a waf, how would you design it
- Do you understand intranet penetration and privilege escalation?
- Which src are usually mined
- Have you ever written some scripts by hand?
- Talk about sql injection, how to manually explode all library names
0x15 360-Security Engineer Internship
- Self introduction
- WAF and how to bypass it
- IPS/IDS/HIDS
- cloud security
- How to bypass Security Knight/Safety Dog, etc.
- Gopher expands the attack surface
- Struct2 Vulnerabilities
- UDF privilege escalation
- DOM XSS
- database privilege escalation
- How to play Redis
- Intranet penetration
- container security
- k8s docker escape
- Linux, windows commands: filter files, view process environment variables
- How to get webshell for site library separation
0x16 Internship in a certain front-line laboratory
technical side
- Interviewer: Hello, I heard that you have a strong desire to join our company. Why? Me: Because I have cooperated with your company's personnel in the project, I feel that whether it is technology, hardware or treatment, it is considered first-class in the circle
- Interviewer: Then do you know our laboratory? Me: I have learned about it, Barabara said something
- Interviewer: Then let me introduce to you the direction of the laboratory, which is divided into three directions... Me: Okay, I understand
- Interviewer: Have you ever used our company’s equipment in the project, and how do you feel about the experience (meaning let’s talk about the advantages and disadvantages of the equipment) Me: Then I will tell the truth?
- Interviewer: No problem, I just want to hear your opinion Me: I have used..., the advantage is that it has good performance and can detect more threat intelligence and the like (let’s make up your mind), but the lack of it is Threats detected and analyzed cannot give specific traffic segments, and it is impossible to effectively determine attacks through a device. Without traffic characteristics, it is not easy to link with other full-traffic devices. It may be the protection mechanism of the device's exit, and the protection signature database is not good. was leaked.
- Interviewer: Do you know the principle and development process of mainstream equipment?
- Interviewer: Did you do traffic analysis in the project, right? Can you tell me about your specific case: I have assisted in the discovery of 0day in the national hvv, and I have independently discovered frp rebound timing confirmation packets to send out traffic, shiro deserialization and other vulnerabilities (I mainly talked about my discovery of frp rebound ideas and processes)
Interviewer: In addition to these regular feature discovery, do you have any quick determination method? Me: (Let me share with you my own traffic analysis experience) 1. Determine the type of event (determine what kind of attack the event is, such as sql injection and blasting and frp traffic analysis steps are different) 2. Determine the time of the event , first define a time period 3. Determine the data flow, whether we want to look at HTTP, TCP, or ssh for the data flow of the attack 4. Analyze whether it is an internal network—> external network or external network—> internal network, internal network and external network There are two query methods. The correct query can effectively obtain results by analyzing fewer data packets. For example, after the internal network -> external network is determined, the first step must first check the traffic of the external network ip to judge the behavior of the external network —>Intranet usually takes down an external network server as a springboard. We must first analyze the victim server on the internal network to see if it has been successfully attacked
首先我们需要确定到攻击行为后,再深入的流量分析和应急响应,很多都是误报 数据包的大小也是分析的条件,分析SSL数据包需要解密 爆破攻击: SMB,SSH,MSSQL等协议比较多,看包的大小,成功登陆的包很大 看ACK,SYN包的次数,如果成功至少20起步,放到科莱上为40起步,但是注意不是失效包和重传的包(注意加密流的ack和syn包也很多,为客户端一次,服务端一次) 重传攻击: 如果一个数据包非常大,几个G或者一个G,我们就考虑数据包是否进行了重传,然后查看数据包的重传数,打个比方就是刷新,如果短时间重传数非常多,就为机器操作,判定为攻击 我们发现一个攻击(如平台登录后的sql注入)我们可以通过流量回溯装置抓取那个被登录用户的用户名和密码,登录平台后自己利用发现的payload进行尝试,看是否能注入成功
- Interviewer: I heard that you also worked as a red team? What project was it and what was your role in it? Me: I introduced my project experience, and then said that I was an assaulter in charge of RBI in the red team (we were fighting alone without backup, and there were no players who were good at intranet)
- Interviewer: Tell me about the results of your project I: …
- Interviewer: Tell me about the problems you encountered in the project. Me: We took down the webshell of a Ruijie router through exp, but it got stuck on the rebound shell and couldn’t rebound.
- Interviewer: Then tell me, have you thought about this problem after the end of the project, have you consulted others, and what is the solution? (I feel that I really attach great importance to thinking and problem solving, and attach great importance to the closed loop of the project) Me: I have asked friends who have also taken Ruijie routers, and then I think that the database and website are separated, and then I can only take down the webshell permissions
- Interviewer: How do you quickly and accurately determine assets? Me: Through fofa, Google Grammar, Zhong Kui's Eye, some registration information
- Interviewer: What is the grammar of fofa?
- Interviewer: How do you quickly identify vulnerabilities in these assets? Me: The fastest way is that the scanner scans once first, and then collects information and conducts targeted attacks, or we use fofa syntax to collect targeted information in the asset table to see if there is a special cms or oa system....
- Interviewer: General scanning will ban you, what will you do? I: My first choice is to use ip pool proxy, or use 5g
- Interviewer: Your information collection and attacks are not very efficient. After the project is over, have you thought about the solution? Fusion, but not written (again the pain of bad code)
- Interviewer: Have you ever learned about the national hvv red team's technology of hiding traffic through the firewall? Me: I have learned about it, but I am not very good at it, and I have no place to learn it (a bit embarrassing)
- Interviewer: Do you have any special methods when you manage points? Me: In addition to searching for the characteristic oa system, we will also collect the mail system in the asset, collect information and log in to the mail system, collect various configuration files, database files, and log in to the background of the website. We have successfully logged into two backgrounds of the website and one mail system , also won a few oa
- Interviewer: Are you targeting specific OAs because of 0days? (laughs) Me: Our team has 0adys and half-days of these OAs
- Interviewer: How about the development side? Can I start developing directly? Me: Python can also develop a few small tools by itself, but Java can only be understood (it’s so embarrassing that I can’t really do it, maybe it’s because I haven’t learned security long enough, I originally wanted to focus on code this year)
- Interviewer: It means that you can only develop a few simple scanning scripts, right (everyone must learn to code well) Me: Yes (embarrassed smile), recently I am learning to use pos3 to write poc
- Interviewer: If you come for an internship, what kind of learning do you want to do? Me: (I chose a direction that is biased towards defense, because I know that I should not be good enough in attack, and I am very self-aware) Then there are some inquiries about how many months I can work and when I can arrive
In summary, I think the interviewer thinks my shortcomings are that the red team’s attack and information collection efficiency is not high and needs to be improved, and there may be a lack of project reflection and solution ideas
hr noodles
- Tell me about your own experience first?
- You are only a sophomore and should be a junior. How did you teach yourself safety in school?
- How did you get in touch with security?
- What are you studying now?
- What is your recent study plan?
- How do you allocate your usual courses and safe learning in college? Will it conflict?
0x17 Tencent-Keen Lab Internship
one side
Duration: One and a half hours
- tcp three-way handshake
- Introduce a penetration testing process
- Talked about a code audit
- SSRF vulnerability
- The general process of intranet penetration
- Introduce another difficult penetration test
- What intrusion detection methods does the defender have, and what traces can be caught?
- Introducing Processes and Threads
- The relationship between process and thread memory space
- Introduction to the parent-child process
- Orphan and Zombie Processes
- I'm talking about it the other way around
- When killing a process, those things happened, from the perspective of the parent-child process
- Several ways to rebound the shell
- The essence is to use the tcp protocol to transmit the bash program
- The category of att&ck matrix, introducing the CC in it
- Go to the domain name to get the result of the command execution
- I didn’t hear this part clearly. During the interview, I directly said that I don’t know. I still didn’t hear clearly when I listened to the recording after replaying, but it seems that what I want to ask is the DNS domain name resolution acquisition command execution echo.
- Linux command wildcards
- I spent about ten minutes asking questions about network protection traceability and threat analysis.
- Not at all, I will never write Huwang on my resume in the future
- What methods does the defender have in the xx offensive and defensive drill? The questions are quite complicated, mainly about intrusion trace detection and source tracing.
- This part is not very good
- Introduction to SVM and KNN
- Introduction to Convolutional Neural Networks
- Levenstein distance
- search engine algorithm
- I don’t know much, I probably talked about the dictionary tree
- Inverted index
- Malicious samples give the md5 of the function family, how to classify
- From the perspective of statistical law
- rhetorical question
two sides
Duration: half an hour
- The first question was directly asked about the protection net, which was almost the same as the question asked on the first side, and it was directly cracked
- Linux boot self-starting method
- init.d script introduction
- How to check which files are called by the program in Linux
- How to Monitor Linux File Operations
- I was already very flustered when I asked here. I don’t know how to operate Linux very well, and the interviewer kept sighing that I am so old.
- What system calls does Linux have
- Won't
- GDB debugging
- Won't
- View Linux open network ports, multi-thread status
- The way to rebound the shell
- How to hide files under Linux
- Subdomain Collection
- DNS rebinding
- DNS resolution process
- CC traffic
- never heard
- ssh tunnel
- I didn’t hear clearly during the interview. When I heard the tunnel, I thought it was UDP going through the tunnel.
- Introduction to https certificate mechanism
- Some usage methods of burpsuite, plug-in development methods
- The basic operation of nmap
- syn open link principle
- redis exploit
- Runc container escape principle
- Common WAF types (I don’t know why I asked about Changting’s WAF)
- MySQL的UAF
- Have not heard
- Algorithm questions (relatively simple, leetcode easy level)
- Linux process communication
- rhetorical question
0x18 Interview review of a four-character factory
one side
- See you do more java, talk about the principle and utilization of java memory horse
- Then you talk about how to check and kill java memory horses, tools and principles
- Do you understand Ice Scorpion and Godzilla? Tell me about the principle
- What did you do as an intern at other companies before?
- Do you have actual combat experience around waf, and talk about it from the perspective of various loopholes
- Are you familiar with webshell avoidance? Let’s talk about the principle
- Have you done other avoidance, such as combining cs and msfvenom
- Let’s talk about the principle of fastjson deserialization and common utilization chains
- Are you familiar with the data structure, talk about the principle of red-black tree
- Java's hashmap uses red-black tree, let's talk about the principle of hashmap
- Do you have experience in traffic analysis?
- Talk about code audit experience
- Seeing that you have some cnvd and cve, talk about the process of digging holes
- Have you ever played a well-known ctf? Tell me about your experience
- Familiar with intranet penetration, domain control, etc., talk about actual combat experience
- Let’s talk about the cc chain principle of java deserialization
- See you have rewritten sqlmap, have you read the source code of sqlmap?
- Seeing that you are familiar with mysql, talk about indexes, storage structures, etc.
- Tell me why mysql uses b+ tree
- Have you seen the mysql source code?
- Have you analyzed binary vulnerabilities?
- Have you ever written anything in assembly
- Talk about the loopholes in the linux kernel
- Have you ever dug a buffer overflow vulnerability?
- Do you understand python's sandbox escape?
- Python's flask template injection talk
- Seeing that you have done projects related to abstract syntax trees, talk about it
- Talk about the concept and principle of rasp
- Talk about the confrontation of rasp
- Talk about the security issues of php and golang language itself
- Do you know about machine learning and algorithms?
- Seeing that you have tried to write a simple operating system, talk about your ideas
- do you have anything to ask me
two sides
- Tell me about the most memorable hole you've ever dug
- Tell me about the security tools you have written, from the point of view and principle
- Talk about how to bypass WAF when uploading files
- The use of SSRF and the means of circumventing WAF
- Talk about how to use MSSQL if XPCMDSHELL cannot be used
- What should I do if I encounter an RCE that does not echo?
- OS-SHELL without SQLMAP, how to write SHELL for various databases
- Give you a relatively large log, how should it be analyzed
- Talk about what problems can be caused by redis unauthorized
- Talk about SYN FLOOD principle, defense and detection methods
- Talk about the principle, defense and detection methods of UDP reflection amplification
- Tell me about your advantages
- do you have anything to ask me
Three sides
- Padding Oracle Attack讲讲
- The principle of Fastjson deserialization and the principle of 1.2.47 bypass
- What are the functions that cause deserialization other than readObject?
- Talk about the chains you are most familiar with in the CC chain
- The principle of Shiro550 deserialization and the idea of using tools to write
- The most impressive talk about the analysis process in the RCE of Spring/Struts2
- sql injection way around WAF say as much as possible
- The principle of block transmission around WAF
- What are the ways to upload files around WAF
- Tell me about the most impressive of these CVEs you have dug
- what are your greatest strengths and weaknesses
- Which field of security do you want to do in the future?
- How is your school grade? Did you fail any subjects?
- do you have anything to ask me
0x19 Internship interview review of a four-character factory
one side
- Self introduction
- Advantages and reasons for arrays and linked lists
- Explain the difference between process and thread at the operating system level
- Thread and process communication methods and data security issues
- Scenarios and reasons for the selection of multi-process and multi-thread
- Know which WAF talk about the principle
- Say as much as possible about SQL injection around WAF
- What is the payload length of FUZZ around WAF?
- What regular rules have you written to talk about specific scenarios?
- You can't test the regularity of writing ipv4 directly without checking the data
- The deserialization principle of Fastjson
- What kind of security problems will the Java reflection mechanism cause?
- The similarities between XSS and CSRF and how to use them together
- The location and principle of CSRF_TOKEN and bypass
- Say as many HTTP headers as you know
- The principle of Nmap's common scanning methods and the principle of NSE scripts
- Seeing that you have a lot of CNVD certificates, let me tell you about the process of digging holes
- Tell me about what you have learned from the certifications you have taken.
- Seeing that you have many projects on Github
- Do you think you have any bright spots?
- what do you want to ask me
two sides
- Self introduction
- Familiar with which Web vulnerabilities to talk about
- Principles of cross-domain solutions and security issues
- How to choose Python multi-process and multi-thread
- What does Python's GIL lock essentially do
- Why does Java's JVM have GCROOT
- What garbage collectors does Java's JVM have?
- What are the disadvantages of the garbage collection counting reference mechanism
- How does CSRF get Cookie
- How to tell if a website is a phishing website
- How do different domain names get cookies through CSRF
- Talk about some common HTTP headers and their functions
- What HTTP-Only does essentially
- Talk about balanced binary tree and binary search tree
- SYN Flood attack principle and solution
- What is the principle of SYN reverse detection
- Principle of TCP SYN Cookie
- ARP spoofing attack principle and solution
- What is an efficient way of UDP port probing
- What is Nmap's FIN scan and empty scan
- Let me talk about the change of the serial number of the three-way handshake
- What are the value types and reference types of Python
- Are Python's list and dict thread-safe?
- Tell me about the most rewarding project you have done
- what do you want to ask me
Three sides
- Self introduction
- Explain CSRF
- Talk about SSRF with practical examples
- Talk about RCE with practical examples
- Why are there so few file uploads now?
- Do you understand WAF based on semantic analysis?
- Tell me about what you did in your last internship
- Talk about a few impressive digging experiences
- Tell me about your plans for the future
- Do you have the will to rectify
- what do you want to ask me
Four sides (HR)
- How was the interview experience?
- talk about life ideal
- Earliest time of practice
0x1A A two-character factory interview review
one side
- Self introduction
- What did you do in the first two internships?
- Mathematical problems of medium difficulty
- java class file structure
- Do you understand the principle of Kafka?
- Fastjson deserialization principle
- Tell me about your most in-depth research field
two sides
- How to prevent precompilation from being used for sorting
- From the two perspectives of white box and black box, we will talk about the loopholes that have been dug
- SSRF bypass and defense
- Talk about the principles of code audit tools such as fortity
- Talk about the principle of precompilation from the perspective of stored procedures
- How does csp defend against xss
- Why csrf can be defended with token
- Give you a project to talk about the audit ideas
- Intranet related issues
- Tell me about the logical loopholes you dug
- Tell me something you have written in golang
- what is security
Three sides
- Tell me about your own ideas for writing ysoserial
- How to further exploit after determining the sql injection vulnerability
- Lecture on the Vulnerability Principle of Pan Micro OA
- The newly released Confluence RCE talk
- What did you do in previous internships?
- ***Principle and bypass in actual combat
- Talk about the process of red-blue confrontation
four sides
- Java deserialization principles and tools
- Talk about the way of fingerprint recognition
- The principle of shiro deserialization tool
- How to find the sql injection point without using sqlmap
- Tell me about the cves you dug up
- Do you know anything about binary?
0x1B A security company - security researcher
one side
- Tell me about the principles of several Burp plug-ins you wrote
- Have you done any JavaWeb projects?
- CC1-7 Find a familiar person to talk about the principle
- Talk about the principle of Fastjson and Jackson deserialization
- Can BCEL use other class loaders
- XStream deserialization talk
- What is the most basic deserialization principle
- Do you understand the principle of JEP290?
- Talk about the principle of RMI and related vulnerabilities
- How JdbcRowSetImpl triggers JNDI injection
- The difference between the four Transformers of the CC chain
- Tell me about the CVE and CNVD you have dug
- What are the trigger points for deserialization besides readObject?
- Talk about Spring-related RCE principles
- Talk about the principle of IIOP and T3 deserialization
- Deserialization of PHP and other languages
two sides
- safe for several years
- what do you want to do in the future
- Tell me about what you did during your internship
- workplace requirements
at last
I have organized all these interview questions into PDF documents. If you need them, follow me and send them automatically.